/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f9;
    min-height: 100vh;
    direction: ltr;
    text-align: left;
    color: #566a7f;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SNEAT Style Form Wrapper */
.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 1px rgba(105, 108, 255, 0.1);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #e7eaf3;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-wrapper:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 0 0 1px rgba(105, 108, 255, 0.2);
    transform: translateY(-2px);
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #696cff;
    border-radius: 12px 12px 0 0;
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.header h1 {
    color: #566a7f;
    font-size: 1.75rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
}

.header h1 i {
    color: #696cff;
    font-size: 1.5rem;
}

.header p {
    color: #a1acb8;
    font-size: 1rem;
    font-weight: 500;
}

/* SNEAT Form Styles */
.inquiry-form, .login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #566a7f;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e7eaf3;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
    color: #566a7f;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #696cff;
    box-shadow: 0 0 0 2px rgba(105, 108, 255, 0.1);
}

.form-group input::placeholder {
    color: #a1acb8;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 45px;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a1acb8;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.password-toggle-btn:hover {
    color: #696cff;
    background: rgba(105, 108, 255, 0.1);
}

.password-toggle-btn:focus {
    outline: none;
    color: #696cff;
    background: rgba(105, 108, 255, 0.1);
}

.password-toggle-btn i {
    font-size: 14px;
}

.budget-range-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.budget-input-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.budget-input-row label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.budget-input-row input {
    width: 100%;
}

.modal-content small {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* SNEAT Style Message Editor */
.message-editor {
    border: 1px solid #e7eaf3;
    border-radius: 4px;
    overflow: hidden;
}

.editor-toolbar {
    background: #f8f9fa;
    padding: 8px 12px;
    border-bottom: 1px solid #e7eaf3;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.format-btn {
    background: white;
    border: 1px solid #e7eaf3;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    color: #566a7f;
}

.format-btn:hover {
    background: #696cff;
    color: white;
    border-color: #696cff;
}

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

.message-editor textarea {
    border: none;
    border-radius: 0;
    resize: vertical;
    min-height: 120px;
    padding: 12px 16px;
    font-size: 14px;
    background: white;
}

.formatting-help {
    background: #f8f9fa;
    padding: 8px 12px;
    border-top: 1px solid #e7eaf3;
    color: #a1acb8;
    font-size: 12px;
}

.formatting-help strong {
    color: #566a7f;
}

/* SNEAT Style File Upload */
.file-upload-area {
    border: 2px dashed #e7eaf3;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #696cff;
    background: #f0f4ff;
}

.file-upload-area input[type="file"] {
    display: none;
}

.file-upload-info {
    cursor: pointer;
}

.file-upload-text {
    display: block;
}

.file-upload-text i {
    font-size: 2rem;
    color: #696cff;
    margin-bottom: 10px;
}

.file-upload-text span {
    display: block;
    font-weight: 500;
    color: #566a7f;
    margin-bottom: 5px;
}

.file-upload-text small {
    color: #a1acb8;
    font-size: 12px;
}

.file-info {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #e7eaf3;
    margin-top: 10px;
}

.file-info i {
    color: #696cff;
    margin-right: 10px;
}

.file-info span {
    flex: 1;
    color: #566a7f;
    font-weight: 500;
}

.remove-file-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

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

.submit-btn {
    background: #696cff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #5f61e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(105, 108, 255, 0.3);
}

/* SNEAT Messages */
.success-message, .error-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
}

.success-message {
    background: #e8f5e8;
    color: #71dd37;
    border: 1px solid #c3e6c3;
}

.error-message {
    background: #ffeaea;
    color: #ff3b3b;
    border: 1px solid #ffb3b3;
}

.success-message i,
.error-message i {
    font-size: 16px;
}

/* SNEAT Footer */
.footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e7eaf3;
}

.footer p {
    color: #a1acb8;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer a {
    color: #696cff;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
    color: #5f61e6;
}

/* Dashboard Styles */
.filter-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.filter-section h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section h3 i {
    color: #667eea;
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Inquiries List */
.inquiries-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.inquiry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.inquiry-header h3 {
    color: #333;
    font-size: 1.5rem;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-new {
    background: #fff3cd;
    color: #856404;
}

.status-contacted {
    background: #d1ecf1;
    color: #0c5460;
}

.status-closed {
    background: #d4edda;
    color: #155724;
}

.inquiry-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row i {
    color: #007bff;
    width: 20px;
    text-align: center;
}

.inquiry-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.status-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-form select {
    padding: 8px 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

.email-btn {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.email-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* SNEAT Style Modal - Clean and Simple */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.modal-header {
    background: #f8f9fa;
    color: #566a7f;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e7eaf3;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close {
    color: #a1acb8;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: #e7eaf3;
    color: #566a7f;
}

.email-form {
    padding: 20px;
    background: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #566a7f;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e7eaf3;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #696cff;
    box-shadow: 0 0 0 2px rgba(105, 108, 255, 0.1);
}

.form-group small {
    color: #a1acb8;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e7eaf3;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: #696cff;
    color: white;
}

.btn-primary:hover {
    background: #5f61e6;
}

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

.btn-secondary:hover {
    background: #8b95a1;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    margin: 20px 0;
    border: 2px dashed rgba(102, 126, 234, 0.2);
}

.no-data i {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 25px;
    opacity: 0.7;
}

.no-data p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #7f8c8d;
}

/* Attachment Styles */
.attachment-btn {
    background: #9b59b6;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attachment-btn:hover {
    background: #8e44ad;
    transform: translateY(-2px);
}

.attachment-content {
    padding: 20px;
}

.upload-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px dashed #dee2e6;
}

.upload-section h4 {
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-form .form-group {
    margin-bottom: 15px;
}

.upload-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background: white;
}

.upload-form small {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.attachments-list h4 {
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachments-container {
    max-height: 300px;
    overflow-y: auto;
}

.attachment-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attachment-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachment-icon {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.attachment-details h5 {
    margin: 0;
    color: #495057;
    font-size: 0.9rem;
}

.attachment-details small {
    color: #6c757d;
    font-size: 0.8rem;
}

.attachment-actions {
    display: flex;
    gap: 10px;
}

.attachment-actions button {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.attachment-actions button:hover {
    background: #e9ecef;
    color: #495057;
}

.attachment-actions .download-btn:hover {
    color: #28a745;
}

.attachment-actions .delete-btn:hover {
    color: #dc3545;
}

/* Email Attachment Styles */
.attachment-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.attachment-upload-area:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.upload-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.attachment-upload-area p {
    margin: 10px 0;
    color: #495057;
    font-weight: 500;
}

.attachment-upload-area small {
    color: #6c757d;
    font-size: 0.85rem;
}

.selected-file-info {
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
}

.file-info i {
    color: #28a745;
}

.remove-file-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    margin-left: auto;
    transition: all 0.3s ease;
}

.remove-file-btn:hover {
    background: #f8d7da;
}

/* Multiple File Selection Styles */
.selected-files-info {
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.files-header h5 {
    margin: 0;
    color: #155724;
    font-size: 0.9rem;
}

.remove-all-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

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

.files-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    background: #f8f9fa;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.file-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-item .file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.file-icon {
    width: 30px;
    height: 30px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

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

/* File Counter */
.file-counter {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
}

/* Unlimited Files Support */
.unlimited-files-notice {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    color: #1976d2;
    font-size: 0.9rem;
}

.unlimited-files-notice i {
    color: #2196f3;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .form-wrapper {
        padding: 20px;
        margin: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .inquiry-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .inquiry-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .email-btn, .attachment-btn {
        width: 100%;
    }
    
    .attachment-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .attachment-actions {
        justify-content: center;
    }
    
    .files-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .file-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .files-list {
        max-height: 200px;
    }
    
    .unlimited-files-notice {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .modal-content {
        width: 98%;
        margin: 1% auto;
        max-width: none;
        min-height: 95vh;
        max-height: 98vh;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .budget-range-group {
        flex-direction: column;
        gap: 15px;
    }
    
/* Data Table Styles - Complete Redesign */
.inquiries-table-container {
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.inquiries-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
}

.table-responsive {
    overflow-x: auto;
    border-radius: 25px;
}

.inquiries-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
    background: white;
}

.inquiries-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.inquiries-table thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.inquiries-table th {
    padding: 25px 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    position: relative;
    border: none;
}

.inquiries-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.inquiries-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    margin: 5px 0;
}

.inquiries-table tbody tr:nth-child(even) {
    background: rgba(248, 249, 250, 0.6);
}

.inquiries-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}

.inquiries-table td {
    padding: 20px;
    vertical-align: middle;
    font-weight: 500;
    border: none;
    position: relative;
}

.inquiry-id {
    font-weight: 800;
    color: #667eea;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-block;
    border: 2px solid rgba(102, 126, 234, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.inquiry-name .name-info strong {
    display: block;
    color: #2c3e50;
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.inquiry-name .name-info small {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 500;
    background: rgba(127, 140, 141, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.inquiry-email a,
.inquiry-phone a {
    color: #667eea;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.1);
    display: inline-block;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.inquiry-email a:hover,
.inquiry-phone a:hover {
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-badge {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 2px solid rgba(25, 118, 210, 0.3);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.budget-amount {
    font-weight: 800;
    color: #27ae60;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(46, 125, 50, 0.15) 100%);
    padding: 6px 12px;
    border-radius: 10px;
    border: 2px solid rgba(39, 174, 96, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.area-location {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 600;
    background: rgba(127, 140, 141, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(127, 140, 141, 0.2);
}

.status-select {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-select.status-new {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid rgba(133, 100, 4, 0.3);
}

.status-select.status-contacted {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border: 2px solid rgba(12, 84, 96, 0.3);
}

.status-select.status-closed {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid rgba(21, 87, 36, 0.3);
}

.date-info {
    display: block;
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 600;
    background: rgba(127, 140, 141, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(127, 140, 141, 0.2);
}

.date-info small {
    display: block;
    color: #bdc3c7;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: rgba(248, 249, 250, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #667eea;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.action-btn.email-btn:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-color: #007bff;
}

.action-btn.attachment-btn:hover {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border-color: #28a745;
}

.action-btn.view-btn:hover {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border-color: #6c757d;
}

.inquiry-details-row {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(236, 240, 241, 0.9) 100%);
    border-radius: 15px;
    margin: 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.requirements-info {
    padding: 20px;
    background: white;
    border-radius: 15px;
    margin: 10px 0;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.requirements-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    border-radius: 15px 15px 0 0;
}

.requirements-info strong {
    color: #667eea;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements-info strong::before {
    content: '📋';
    font-size: 16px;
}

.requirements-info p {
    margin: 12px 0 0 0;
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.05);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* File Limit Notice */
.file-limit-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    color: #856404;
    font-size: 0.9rem;
    text-align: center;
}

.file-limit-notice i {
    color: #f39c12;
    margin-right: 8px;
}

.file-limit-notice small {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Inquiry Details View */
.inquiry-details-view {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item label i {
    color: #007bff;
    width: 16px;
}

.detail-item span {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.detail-item a {
    color: #007bff;
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

.requirements-text {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Responsive Detail Grid */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .inquiry-details-view {
        padding: 20px;
    }
    
    .detail-item {
        padding: 12px;
    }
}

/* Responsive Data Table */
@media (max-width: 768px) {
    .inquiries-table {
        font-size: 12px;
    }

    .inquiries-table th,
    .inquiries-table td {
        padding: 10px 8px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 3px;
    }

    .action-btn {
        padding: 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .inquiries-table th,
    .inquiries-table td {
        padding: 8px 6px;
    }

    .inquiry-name .name-info strong {
        font-size: 13px;
    }

    .inquiry-email a,
    .inquiry-phone a {
        font-size: 11px;
    }
}

/* SNEAT Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .form-wrapper {
        padding: 24px;
        margin: 0;
        max-width: 100%;
    }
    
    .header h1 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .header h1 i {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 14px 24px;
    }
}
