/* Styles for the authenticated app area */
.container.app {
    max-width: none;
}

/* App header */
.app-header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.app-header h1 {
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

/* App content wrapper */
.app-content {
    padding: 20px 0;
}

/* App cards */
.app-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.app-card h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #333;
}

/* App buttons */
.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.app-btn-primary {
    background: var(--accent, #6c63ff);
    color: white;
}

.app-btn-primary:hover {
    background: #5a52d5;
}

.app-btn-secondary {
    background: #f0f0f0;
    color: #555;
}

.app-btn-secondary:hover {
    background: #e0e0e0;
}

/* App form elements */
.app-form-group {
    margin-bottom: 16px;
}

.app-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.app-form-group input,
.app-form-group select,
.app-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.app-form-group input:focus,
.app-form-group select:focus,
.app-form-group textarea:focus {
    outline: none;
    border-color: var(--accent, #6c63ff);
}

/* App table */
.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table th,
.app-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.app-table th {
    font-weight: 600;
    color: #555;
    background: #f8f9fa;
}

.app-table tr:hover {
    background: #f8f9fa;
}

/* App badges */
.app-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.app-badge-success {
    background: #d4edda;
    color: #155724;
}

.app-badge-warning {
    background: #fff3cd;
    color: #856404;
}

.app-badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive app styles */
@media (max-width: 768px) {
    .container.app {
        padding: 0 15px;
    }
    
    .app-card {
        padding: 16px;
    }
    
    .app-table th,
    .app-table td {
        padding: 10px 12px;
    }
}
