/* Clean, minimal design */
.my-account-page {
    background-color: #ffffff;
    min-height: 100vh;
}

.page-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1.5rem;
}

.page-header h1 {
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-header p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Section styling */
.form-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

/* Form items */
.form-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.form-item:hover {
    background: #f0f1f3;
    transform: translateY(-1px);
}

.draft-item {
    background: #fffbf0;
    border-left: 3px solid #ffc107;
}

.draft-item:hover {
    background: #fff8e1;
}

.form-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.form-details {
    flex: 1;
}

.form-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.form-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Button styling */
.btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 0.375rem 1rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
    color: white;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #dee2e6;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.btn-link {
    color: #6c757d;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0.375rem 0.75rem;
}

.btn-link:hover {
    color: #495057;
    text-decoration: underline;
}

.btn-link.text-danger:hover {
    color: #c82333;
}

/* Action section */
.action-section {
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .form-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .action-section {
        flex-direction: column;
    }
    
    .action-section .btn {
        width: 100%;
        text-align: center;
    }
}

/* Alert styling */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Dark theme styles */
html[data-bs-theme="dark"] .my-account-page {
    background-color: #141d30;
}

html[data-bs-theme="dark"] .page-header {
    border-bottom-color: #2a3650;
}

html[data-bs-theme="dark"] .page-header h1 {
    color: #e0e6ed;
}

html[data-bs-theme="dark"] .page-header p {
    color: #a8b2c0;
}

html[data-bs-theme="dark"] .section-title {
    color: #e0e6ed;
    border-bottom-color: #2a3650;
}

html[data-bs-theme="dark"] .form-item {
    background: #1e2841;
}

html[data-bs-theme="dark"] .form-item:hover {
    background: #243050;
}

html[data-bs-theme="dark"] .draft-item {
    background: #1f2d3d !important;
    border: none;
    border-left: 3px solid #5d9cec;
}

html[data-bs-theme="dark"] .draft-item:hover {
    background: #263847 !important;
}

html[data-bs-theme="dark"] .form-name {
    color: #e0e6ed;
}

html[data-bs-theme="dark"] .form-meta {
    color: #a8b2c0;
}

html[data-bs-theme="dark"] .btn-primary {
    background-color: #3d5a80;
    border-color: #3d5a80;
}

html[data-bs-theme="dark"] .btn-primary:hover {
    background-color: #4d6a90;
    border-color: #4d6a90;
}

html[data-bs-theme="dark"] .btn-outline-secondary {
    color: #a8b2c0;
    border-color: #2a3650;
    background-color: transparent;
}

html[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background-color: #1e2841;
    border-color: #3d5a80;
    color: #e0e6ed;
}

html[data-bs-theme="dark"] .btn-link {
    color: #a8b2c0;
}

html[data-bs-theme="dark"] .btn-link:hover {
    color: #c0cbd6;
}

html[data-bs-theme="dark"] .btn-link.text-danger {
    color: #ff6b6b;
}

html[data-bs-theme="dark"] .btn-link.text-danger:hover {
    color: #ff8787;
}

html[data-bs-theme="dark"] .action-section {
    border-top-color: #2a3650;
}

html[data-bs-theme="dark"] .alert-success {
    background-color: #1a3d2b;
    color: #7fdeaa;
}