/* Dashboard CSS */
.dashboard-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #cf0000 0%, #a00000 100%);
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    padding: 2rem 1rem;
    text-align: center;
    color: white;
}

.logo-section {
    margin-bottom: 2rem;
}

.dashboard-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 0.5rem 0;
    color: white;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

.dashboard-content {
    padding: 10px 1rem 1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-section {
    width: 100%;
    max-width: 800px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    margin: 0 auto;
}

.auth-card h2 {
    text-align: center;
    margin: 0 0 1.5rem 0;
    color: #333;
    font-weight: 300;
    font-size: 1.8rem;
}

.auth-form {
    margin-bottom: 1rem;
}

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

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

.form-input, .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #cf0000;
}

/* Password input container with toggle */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container .form-input {
    padding-right: 3rem; /* Make room for toggle button */
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
    user-select: none;
    transition: color 0.2s ease;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.password-toggle:hover {
    color: #cf0000;
}

/* Error message styling */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.error-message::before {
    content: "⚠";
    margin-right: 0.5rem;
    font-size: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.terms-link {
    color: #cf0000;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #cf0000 0%, #a00000 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #cf0000;
    border: 2px solid #cf0000;
}

.btn-secondary:hover {
    background: #cf0000;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #cf0000;
    border: 2px solid #cf0000;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: #cf0000;
    color: white;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #999;
    font-size: 0.9rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
    z-index: -1;
}

.dashboard-footer {
    padding: 1rem;
    text-align: center;
    color: white;
    opacity: 0.8;
}

.dashboard-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Professional Dashboard Styles */
.dashboard-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.welcome-section {
    padding: 2rem 1rem;
    text-align: center;
    background: white;
    margin: 1rem;
    box-sizing: border-box;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.welcome-section h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-weight: 300;
}

.welcome-section p {
    margin: 0;
    color: #666;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    margin: 1rem;
    box-sizing: border-box;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.dashboard-card:active {
    transform: translateY(-2px);
}

.dashboard-card:active {
    transform: translateY(-2px);
}

.dashboard-card h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.dashboard-card p {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Job Notification Badge */
.job-notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #00a643;
    color: white;
    border-radius: 12px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(207, 0, 0, 0.4);
    z-index: 10;
    padding: 0 6px;
    box-sizing: border-box;
    line-height: 1;
}

.job-notification-badge:empty {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }
    
    .dashboard-subtitle {
        font-size: 1rem;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        max-width: 100%;
    }
    
    .welcome-section {
        margin: 0.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 1rem;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 1rem;
    }
    
    .dashboard-title {
        font-size: 1.8rem;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Error States */
.error {
    border-color: #e74c3c !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Success States */
.success {
    border-color: #27ae60 !important;
}

.success-message {
    color: #27ae60;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Account Selection Styles */
.account-selection-text {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.signup-info {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #cf0000;
}

.account-options {
    margin-bottom: 1.5rem;
}

.account-option {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-option:hover {
    border-color: #cf0000;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 0, 0, 0.1);
}

.account-option.loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.account-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.account-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.3;
}

/* Admin Panel Styles */
.admin-page-container {
    background: white;
    min-height: calc(100vh - 60px);
}

.admin-panel {
    padding: 1rem;
    background: white;
    min-height: calc(100vh - 60px);
}

.admin-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.8rem;
}

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

.search-section {
    margin-bottom: 2rem;
}

.search-input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #333;
}

.search-input:focus {
    outline: none;
    border-color: #cf0000;
    box-shadow: 0 0 0 3px rgba(207, 0, 0, 0.1);
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: #cf0000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-btn:hover {
    background: #a00000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(207, 0, 0, 0.3);
}

/* Accordion Styles */
.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e1e5e9;
    gap: 1rem;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.house-info {
    flex: 1;
    min-width: 0; /* Allow text to wrap */
}

.house-info h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
    font-size: 1.2rem;
}

.house-info p {
    margin: 0 0 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.date-added {
    font-size: 0.8rem;
    color: #999;
}

.house-image {
    flex-shrink: 0; /* Don't shrink the image */
}

.house-thumb {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.no-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    border: 2px dashed #ddd;
}

.accordion-toggle {
    font-size: 1.2rem;
    color: #cf0000;
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 1.5rem;
    background: #f8f9fa;
}

.house-image-container {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.stakeholder-assignments h5 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
}

.current-assignments {
    margin-bottom: 1.5rem;
}

.current-assignments h6 {
    margin: 0 0 0.5rem 0;
    color: #555;
    font-size: 0.9rem;
}

.assignment-item {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.loading-text {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 1rem;
}

.assignment-controls {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.assignment-controls h6 {
    margin: 0 0 1rem 0;
    color: #555;
    font-size: 0.9rem;
}

.dropdown-group {
    margin-bottom: 1rem;
}

.dropdown-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.stakeholder-dropdown {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 0.9rem;
    background: white;
}

.stakeholder-dropdown:focus {
    outline: none;
    border-color: #cf0000;
}

.accordion-actions {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.confirm-btn {
    padding: 0.75rem 2rem;
    background: #cf0000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.confirm-btn:hover:not(:disabled) {
    background: #a00000;
    transform: translateY(-2px);
}

.confirm-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Document Upload Area Styles */
.document-upload-area {
    border: 2px dashed #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #fafbfc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-upload-area:hover {
    border-color: #cf0000;
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 0, 0, 0.1);
}

.document-upload-area.drag-over {
    border-color: #cf0000;
    background: #fff5f5;
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(207, 0, 0, 0.2);
}

.upload-content {
    width: 100%;
}

.upload-icon {
    color: #cf0000;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.document-upload-area:hover .upload-icon {
    transform: scale(1.1);
}

.upload-text h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.upload-text p {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 1rem;
}

.browse-link {
    color: #cf0000;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.browse-link:hover {
    color: #a00000;
}

.upload-instructions {
    text-align: left;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    margin-top: 1rem;
}

.instruction-item {
    margin-bottom: 1rem;
}

.instruction-item strong {
    color: #333;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.instruction-item ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.instruction-item li {
    margin-bottom: 0.25rem;
}

.file-types, .file-limits {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.file-types strong, .file-limits strong {
    color: #333;
}

.hidden-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Uploaded Files Preview */
.uploaded-files {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #cf0000;
    box-shadow: 0 2px 8px rgba(207, 0, 0, 0.1);
}

.file-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.file-icon.pdf {
    color: #e74c3c;
}

.file-icon.doc, .file-icon.docx {
    color: #3498db;
}

.file-icon.jpg, .file-icon.jpeg, .file-icon.png {
    color: #27ae60;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.file-size {
    font-size: 0.8rem;
    color: #666;
}

.file-status {
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.file-status.success {
    color: #27ae60;
}

.file-status.error {
    color: #e74c3c;
}

.remove-file {
    margin-left: 0.75rem;
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.remove-file:hover {
    background: #e74c3c;
    color: white;
}

/* Upload Progress */
.upload-progress {
    width: 100%;
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #cf0000, #a00000);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Error States for Upload */
.upload-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fdf2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
}

/* Success States for Upload */
.upload-success {
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
}

/* Responsive Design for Upload Area */
@media (max-width: 768px) {
    .document-upload-area {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .upload-text h4 {
        font-size: 1.1rem;
    }
    
    .upload-text p {
        font-size: 0.9rem;
    }
    
    .upload-instructions {
        padding: 0.75rem;
    }
    
    .instruction-item ul {
        font-size: 0.8rem;
    }
    
    .file-item {
        padding: 0.5rem;
    }
    
    .file-name {
        font-size: 0.85rem;
    }
    
    .file-size {
        font-size: 0.75rem;
    }
}

/* =====================================================
   LOGO UPLOAD STYLES
   ===================================================== */

/* Logo Upload Area */
.logo-upload-area {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-upload-area:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.logo-upload-area.drag-over {
    border-color: #3b82f6;
    background: #dbeafe;
    transform: scale(1.02);
}

.logo-upload-content {
    width: 100%;
}

.logo-upload-icon {
    color: #6b7280;
    margin-bottom: 1rem;
}

.logo-upload-icon svg {
    width: 48px;
    height: 48px;
}

.logo-upload-text h4 {
    color: #374151;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.logo-upload-text p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.browse-logo-link {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
}

.browse-logo-link:hover {
    color: #1d4ed8;
}

.logo-upload-instructions {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.logo-upload-instructions .instruction-item {
    margin-bottom: 0.75rem;
}

.logo-upload-instructions .instruction-item:last-child {
    margin-bottom: 0;
}

.logo-upload-instructions strong {
    color: #374151;
    font-weight: 600;
}

.logo-upload-instructions .file-types,
.logo-upload-instructions .file-limits {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Logo Preview */
.logo-preview {
    margin-top: 1rem;
}

.logo-preview-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo-preview-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 1rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-preview-info {
    flex: 1;
}

.logo-preview-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-upload-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.confirm-upload-btn:hover {
    background: #218838;
}

.confirm-upload-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.logo-preview-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.logo-preview-size {
    color: #6b7280;
    font-size: 0.85rem;
}

.remove-logo {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.remove-logo:hover {
    background: #dc2626;
}

/* Logo Upload Messages */
.logo-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
}

.logo-success {
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
}

/* Responsive Design for Logo Upload */
@media (max-width: 768px) {
    .logo-upload-area {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .logo-upload-text h4 {
        font-size: 1.1rem;
    }
    
    .logo-upload-text p {
        font-size: 0.9rem;
    }
    
    .logo-upload-instructions {
        padding: 0.75rem;
    }
    
    .logo-preview-item {
        padding: 0.75rem;
    }
    
    .logo-preview-image {
        width: 50px;
        height: 50px;
        margin-right: 0.75rem;
    }
    
    .logo-preview-name {
        font-size: 0.9rem;
    }
    
    .logo-preview-size {
        font-size: 0.8rem;
    }
    
    .logo-preview-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .confirm-upload-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .document-upload-area {
        padding: 1rem;
        min-height: 160px;
    }
    
    .upload-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .upload-text h4 {
        font-size: 1rem;
    }
    
    .upload-text p {
        font-size: 0.85rem;
    }
    
    .upload-instructions {
        padding: 0.5rem;
    }
    
    .instruction-item ul {
        font-size: 0.75rem;
    }
}

/* =====================================================
   STAKEHOLDER PROFILE LOGO STYLES
   ===================================================== */

/* Profile Logo Section */
.logo-section {
    margin-bottom: 30px;
}

.logo-display-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.current-logo-display {
    text-align: center;
    padding: 20px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

.current-logo-display.has-logo {
    border: 2px solid #28a745;
    background: #f8fff8;
}

.current-logo-display.no-logo {
    border: 2px dashed #dc3545;
    background: #fff8f8;
}

.current-logo-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.current-logo-info {
    color: #666;
    font-size: 14px;
}

.logo-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Profile Logo Upload Area */
#profileLogoUploadArea {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profileLogoUploadArea:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

#profileLogoUploadArea.drag-over {
    border-color: #3b82f6;
    background: #dbeafe;
    transform: scale(1.02);
}

/* Profile Logo Preview */
#profileLogoPreview {
    margin-top: 1rem;
}

/* Profile Logo Messages */
.logo-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
}

.logo-success {
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
}

/* Responsive Design for Profile Logo */
@media (max-width: 768px) {
    .logo-section {
        margin-bottom: 20px;
    }
    
    .current-logo-display {
        padding: 15px;
    }
    
    .current-logo-image {
        max-width: 150px;
        max-height: 150px;
    }
    
    #profileLogoUploadArea {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .logo-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .current-logo-display {
        padding: 10px;
    }
    
    .current-logo-image {
        max-width: 120px;
        max-height: 120px;
    }
    
    #profileLogoUploadArea {
        padding: 1rem;
        min-height: 160px;
    }
}

/* =====================================================
   CONVEYENCER TERMS AND CONDITIONS STYLES
   ===================================================== */

/* T&C Checkbox Container */
.tandc-checkbox-container {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #cf0000;
}

.tandc-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.tandc-checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.tandc-link {
    color: #cf0000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tandc-link:hover {
    color: #a00000;
    text-decoration: underline;
}

/* T&C Content Page */
.tandc-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
    line-height: 1.8;
    color: #333;
}

.tandc-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.tandc-content > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.tandc-section {
    margin-bottom: 2rem;
}

.tandc-section h3 {
    color: #cf0000;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e1e5e9;
}

.tandc-section p {
    margin-bottom: 0.75rem;
    color: #555;
    font-size: 0.95rem;
}

.tandc-section ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: #555;
}

.tandc-section li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tandc-acknowledgment {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #fff5f5;
    border: 2px solid #cf0000;
    border-radius: 8px;
    text-align: center;
}

.tandc-acknowledgment p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
}

/* Responsive Design for T&C */
@media (max-width: 768px) {
    .tandc-checkbox-container {
        padding: 0.75rem;
    }
    
    .tandc-checkbox-label {
        font-size: 0.9rem;
    }
    
    .tandc-content {
        padding: 0.5rem 0;
    }
    
    .tandc-section {
        margin-bottom: 1.5rem;
    }
    
    .tandc-section h3 {
        font-size: 1.1rem;
    }
    
    .tandc-section p,
    .tandc-section li {
        font-size: 0.9rem;
    }
    
    .tandc-acknowledgment {
        padding: 1rem;
    }
    
    .tandc-acknowledgment p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tandc-checkbox-container {
        padding: 0.5rem;
    }
    
    .tandc-checkbox-label {
        font-size: 0.85rem;
    }
    
    .tandc-content {
        padding: 0;
    }
    
    .tandc-section h3 {
        font-size: 1rem;
    }
    
    .tandc-section p,
    .tandc-section li {
        font-size: 0.85rem;
    }
}
