/* Main styles for Purchase Request Site */
/* Global reset and base styles */
* {
    box-sizing: border-box;
}

/* Default body styles (for general pages) */
body:not(.login-body):not(.dashboard-body):not(.edit-profile-body):not(.success-body) {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.subtitle {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.form-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: left;
}

.form-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message p {
    margin: 0;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-message p {
    margin: 0;
}

.download-section {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #0d47a1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.download-section h3 {
    margin: 0 0 15px 0;
    color: #1565c0;
    font-size: 1.4em;
}

.download-section p {
    margin: 10px 0;
}

.btn-download {
    background-color: #4caf50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin: 15px 0;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 90%;
    text-align: center;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-download:hover {
    background-color: #45a049;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.download-help {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Dashboard styles */
.user-info {
    margin-bottom: 30px;
}

.dashboard-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: left;
}

.dashboard-section h2 {
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.dashboard-help {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

/* Accordion forms */
.forms-container {
    margin-bottom: 30px;
}

.form-accordion {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.form-accordion-header {
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.form-accordion-header:hover {
    background-color: #0056b3;
}

.form-accordion-header h3 {
    margin: 0;
    font-size: 1.1em;
}

.form-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-clear {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-clear:hover {
    background-color: #c82333;
}

.form-toggle {
    font-weight: bold;
    font-size: 1.2em;
}

.form-accordion-content {
    display: none;
    padding: 20px;
    border-top: 1px solid #dee2e6;
}

.reimbursement-form {
    max-width: 100%;
}

.dashboard-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-large {
    font-size: 18px;
    padding: 16px 32px;
    font-weight: bold;
}

/* Info summary for step 2 and dashboard */
.info-summary {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    border-left: 4px solid #007bff;
}

.info-summary p {
    margin: 8px 0;
    color: #495057;
}

/* Signature display */
.signature-display {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.signature-display p {
    margin-bottom: 10px;
    font-weight: bold;
}

.signature-image {
    max-width: 200px;
    max-height: 100px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
    object-fit: contain;
}

/* Items section */
.items-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.items-section h3,
.items-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.items-help,
.file-help,
.total-help,
.financial-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.item-row {
    display: grid;
    grid-template-columns: 1fr 1fr 100px 120px 120px auto;
    gap: 15px;
    align-items: end;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.item-input-group {
    display: flex;
    flex-direction: column;
}

.item-input-group label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.item-input-group input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.item-input-group input.total-field {
    background-color: #e9ecef;
    font-weight: bold;
    color: #495057;
}

.item-actions {
    display: flex;
    align-items: center;
}

.total-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #e3f2fd;
    border-radius: 4px;
    border: 1px solid #bbdefb;
}

.total-section h3,
.total-section h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3em;
    text-align: center;
}

/* Financial breakdown section */
.financial-breakdown {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 15px;
}

.form-row.total-row {
    border-top: 2px solid #007bff;
    padding-top: 15px;
    margin-top: 20px;
}

.form-row.total-row input {
    font-weight: bold;
    font-size: 18px;
    background-color: #f8f9fa;
    border: 2px solid #007bff;
}

/* Calculation buttons */
.calculation-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-calc {
    background-color: #17a2b8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-calc:hover {
    background-color: #138496;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input[type="file"] {
    padding: 8px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.address-help,
.reimbursement-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Google Places Autocomplete styling */
.pac-container {
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

.pac-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px;
    cursor: pointer;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #007bff;
    color: white;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: #0056b3;
}

.btn:active {
    transform: translateY(1px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 0px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-remove {
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-remove:hover {
    background-color: #c82333;
}

/* Responsive design */
@media (max-width: 1024px) {
    .item-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .item-actions {
        justify-content: center;
        grid-column: span 2;
    }
    
    .calculation-buttons {
        flex-direction: column;
    }
    
    .btn-calc {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        max-width: 800px;
        padding: 20px 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    .item-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .item-actions {
        justify-content: center;
        grid-column: span 1;
    }
    
    .form-accordion-header {
        padding: 12px 15px;
    }
    
    .form-accordion-header h3 {
        font-size: 1em;
    }
} 

/* Custom file upload styling */
.custom-file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    z-index: -1;
}

.custom-file-upload .file-upload-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-right: 10px;
    user-select: none;
}

.custom-file-upload .file-upload-btn:hover {
    background-color: #0056b3;
}

.custom-file-upload .file-name {
    color: #666;
    font-style: italic;
    vertical-align: middle;
}

/* Proof of payment section */
.proof-of-payment-section {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.proof-of-payment-section label {
    color: #856404;
    font-weight: bold;
}

.proof-of-payment-section .custom-file-upload .file-upload-btn {
    background-color: #856404;
    color: white;
}

.proof-of-payment-section .custom-file-upload .file-upload-btn:hover {
    background-color: #6c5008;
}

.proof-of-payment-section .file-help {
    color: #856404;
    font-size: 12px;
    font-style: italic;
} 

/* =================================================================
   DASHBOARD STYLES
   ================================================================= */

.dashboard-body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 40px 20px;
    background-color: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #333;
    margin: 0;
    font-size: 1.8rem;
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-user-info span {
    color: #666;
    font-weight: 500;
}

.edit-profile-btn {
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.edit-profile-btn:hover {
    background: #218838;
    text-decoration: none;
    color: white;
    transform: translateY(-1px);
}

.logout-btn {
    background: #dc3545;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
    text-decoration: none;
    color: white;
}

.dashboard-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    font-weight: bold;
}

.dashboard-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

.header-nav h1 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.logout-link {
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.logout-link:hover {
    background-color: #c82333;
    text-decoration: none;
    color: white;
}

/* =================================================================
   LOGIN STYLES
   ================================================================= */

.login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 3rem 0;
    background-color: #0a0a0c;
    background-image: radial-gradient(circle at 50% 0%, #1a1a22 0%, #0a0a0c 70%);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e4e4e7;
    box-sizing: border-box;
    overflow-y: auto;
}

.login-container {
    max-width: 420px;
    width: 90%;
    padding: 2.5rem;
    background: rgba(24, 24, 27, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 3rem auto;
}

.login-container.wide {
    max-width: 800px;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.login-header h1 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.login-header p {
    color: #a1a1aa;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.login-error-message {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.875rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.login-form-group {
    margin-bottom: 1.5rem;
}

.login-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e4e4e7;
    font-size: 0.875rem;
}

.login-form-group input {
    width: 100%;
    padding: 0.875rem;
    background-color: rgba(39, 39, 42, 0.7);
    border: 1px solid rgba(63, 63, 70, 0.5);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: #e4e4e7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: block;
    caret-color: #6366f1;
}

.login-form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.login-form-group input::placeholder {
    color: #71717a;
}

.login-form-group small {
    color: #a1a1aa;
    font-size: 0.875rem;
    margin-top: 5px;
    font-style: italic;
    display: block;
}

.login-form-group select,
.login-form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background-color: rgba(39, 39, 42, 0.7);
    border: 1px solid rgba(63, 63, 70, 0.5);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: #e4e4e7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.login-form-group select:focus,
.login-form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-top: 1.5rem;
}

.login-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(63, 63, 70, 0.5);
    color: #a1a1aa;
    font-size: 0.875rem;
}

/* Back link in dark theme */
.dark-back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(108, 117, 125, 0.8);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dark-back-link:hover {
    background: rgba(108, 117, 125, 1);
    color: white;
}

/* Note styling */
.dark-note {
    background: rgba(255, 243, 205, 0.1);
    border: 1px solid rgba(255, 234, 167, 0.3);
    color: #ffd166;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.dark-note strong {
    font-weight: 600;
}

/* Required field indicator */
.dark-required {
    color: #ef4444;
}

/* File input styling */
.dark-file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dark-file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed rgba(63, 63, 70, 0.5);
    border-radius: 8px;
    text-align: center;
    background: rgba(39, 39, 42, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-file-input:hover {
    border-color: #6366f1;
}

.dark-file-input input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dark-file-input span {
    color: #a1a1aa;
}

.dark-file-name {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #a1a1aa;
}

/* Help text styling */
.address-help {
    color: #a1a1aa;
    font-size: 0.875rem;
    margin-top: 5px;
    font-style: italic;
    display: block;
}

/* Signature preview section */
.signature-info {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.signature-info small {
    color: #a1a1aa;
    font-size: 0.875rem;
    font-style: italic;
    display: block;
    margin-right: 10px;
}

.preview-signature-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.preview-signature-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Password section styling */
.dark-password-section {
    border-top: 2px solid rgba(63, 63, 70, 0.5);
    margin: 2rem 0;
    padding-top: 2rem;
    background: rgba(39, 39, 42, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(63, 63, 70, 0.5);
}

.dark-password-section h3 {
    color: #e4e4e7;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: rgba(63, 63, 70, 0.5);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-weak .password-strength-bar {
    width: 33%;
    background: #dc3545;
}

.password-strength-medium .password-strength-bar {
    width: 66%;
    background: #ffc107;
}

.password-strength-strong .password-strength-bar {
    width: 100%;
    background: #28a745;
}

.dark-password-requirements {
    background: rgba(227, 242, 253, 0.1);
    border: 1px solid rgba(187, 222, 251, 0.3);
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.dark-password-requirements h4 {
    margin: 0 0 0.5rem 0;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.dark-password-requirements ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #a1a1aa;
}

.dark-password-requirements li {
    margin-bottom: 0.25rem;
}

/* Google Places Autocomplete styling for edit profile */
.pac-container {
    z-index: 9999 !important;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    margin-top: 1px;
}

.pac-item {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #667eea !important;
    color: white;
}

.pac-matched {
    font-weight: 600;
}

/* =================================================================
   USER PROFILE STYLES
   ================================================================= */

.profile-body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
}

.profile-container {
    max-width: 600px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 2.5rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.profile-header h1 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.profile-header p {
    color: #666;
    margin: 0;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.profile-field strong {
    color: #333;
    font-weight: 600;
    min-width: 140px;
}

.profile-field span {
    color: #555;
    flex: 1;
    text-align: right;
}

.signature-preview {
    max-width: 150px;
    max-height: 75px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    padding: 0.25rem;
}

.profile-actions {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.profile-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

.profile-btn-secondary {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.profile-btn-secondary:hover {
    background: #545b62;
    text-decoration: none;
    color: white;
}

/* =================================================================
   SUCCESS PAGE STYLES
   ================================================================= */

.success-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
}

.success-header {
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-header h1 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.success-header p {
    color: #666;
    font-size: 1.2rem;
    margin: 0;
}

.download-card {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.1);
}

.download-card h3 {
    color: #155724;
    margin-bottom: 1rem;
}

.download-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.session-info {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-family: monospace;
    font-size: 0.9rem;
    color: #333;
    text-align: left;
}

.download-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    text-decoration: none;
    color: white;
}

.next-steps {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h4 {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps strong {
    color: #28a745;
}

.success-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions h3 {
    width: 100%;
    color: #333;
    margin-bottom: 1rem;
}

.success-btn-secondary {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.success-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
} 