/* Form Styles - Extracted from various views */

/* Contact Page */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.contact-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-form {
    padding: 40px 30px;
}

/* Feedback Page */
.feedback-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.feedback-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.feedback-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.feedback-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.feedback-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.feedback-form {
    padding: 40px 30px;
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-container .contact-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.contact-container .contact-header img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.contact-container .contact-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.contact-container .contact-header p {
    color: #dbeafe;
    font-size: 16px;
    margin: 0;
}

.contact-container .contact-form {
    padding: 40px 30px;
}

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

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

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

/* Form Controls */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    background: #f8fafc;
    box-sizing: border-box;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control.error,
input[type="text"].error,
input[type="email"].error,
input[type="password"].error,
textarea.error,
select.error {
    border-color: #ef4444;
}

.form-control.success,
input[type="text"].success,
input[type="email"].success,
input[type="password"].success,
textarea.success,
select.success {
    border-color: #10b981;
}

textarea.form-control,
textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.submit-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Feedback Form */
.feedback-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.feedback-container .feedback-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.feedback-container .feedback-header img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.feedback-container .feedback-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.feedback-container .feedback-header p {
    color: #d1fae5;
    font-size: 16px;
    margin: 0;
}

.feedback-container .feedback-form {
    padding: 40px 30px;
}

/* Info Sections */
.contact-info,
.feedback-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 24px;
    margin-right: 12px;
}

.info-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.info-item {
    margin-bottom: 12px;
    color: #6b7280;
    line-height: 1.6;
}

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

.info-item strong {
    color: #374151;
    font-weight: 600;
}

.info-item a {
    color: #3b82f6;
    text-decoration: none;
}

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

/* Success Message */
.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    display: none;
}

.success-message h3 {
    color: #166534;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.success-message p {
    color: #166534;
    font-size: 16px;
    margin-bottom: 20px;
}

.back-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

/* File Upload */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

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

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 14px;
    transition: all 0.2s;
}

.file-upload:hover .file-upload-label {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #3b82f6;
}

.file-upload-icon {
    margin-right: 8px;
    font-size: 18px;
}

/* Error Messages */
.error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

/* Loading States */
.btn-loading {
    display: none;
}

.loading .btn-loading {
    display: inline;
}

.loading .btn-text {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page,
    .feedback-page {
        padding: 20px;
    }
    
    .contact-content,
    .feedback-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-header h1,
    .feedback-header h1 {
        font-size: 2rem;
    }
    
    .contact-form,
    .feedback-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .info-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-header h1,
    .feedback-header h1 {
        font-size: 1.75rem;
    }
    
    .contact-form,
    .feedback-form {
        padding: 20px 15px;
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #198754;
}

/* Custom Form Elements */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background: #f8fafc;
    appearance: none;
    cursor: pointer;
}

.custom-select::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.custom-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.custom-checkbox label {
    margin: 0;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

/* Form Groups with Icons */
.form-group-with-icon {
    position: relative;
}

.form-group-with-icon .form-control {
    padding-left: 40px;
}

.form-group-with-icon .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.form-section-description {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
} 