/* ====================================
   VS Real Feedback Page Styles
   ==================================== */

/* General Section Styles */
.vs-feedback-title {
    font-size: 35px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.vs-feedback-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

/* ====================================
   Feedback Section
   ==================================== */
.vs-feedback-section {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-feedback-wrapper {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #FFB800;
}

/* ====================================
   Form Styles
   ==================================== */
.vs-feedback-form {
    margin-top: 30px;
}

.vs-form-group {
    margin-bottom: 10px;
}

.vs-form-label {
    display: block;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 1px;
}

.vs-form-input,
.vs-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
}

.vs-form-input:focus,
.vs-form-textarea:focus {
    outline: none;
    border-color: #FFB800;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.vs-form-input::placeholder,
.vs-form-textarea::placeholder {
    color: #999;
}

.vs-form-input.error,
.vs-form-textarea.error {
    border-color: #dc3545;
}

.vs-form-input.error:focus,
.vs-form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.vs-form-input.success,
.vs-form-textarea.success {
    border-color: #28a745;
}

.vs-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ====================================
   Error Message Styles
   ==================================== */
.vs-error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
    min-height: 20px;
    letter-spacing: 1px;
}

/* ====================================
   Image Upload Styles
   ==================================== */
.vs-image-upload-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.vs-file-input {
    display: none;
}

.vs-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 3px dashed #FFB800;
    border-radius: 8px;
    background-color: #FFF9E6;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
    margin-top: 10px;
}

.vs-file-label:hover {
    background-color: #FFF0CC;
    border-color: #E6A400;
    transform: translateY(-2px);
}

.vs-file-label i {
    font-size: 2.5rem;
    color: #FFB800;
}

.vs-file-label span {
    color: #1a1a1a;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

/* ====================================
   Image Preview Styles
   ==================================== */
.vs-image-preview-wrapper {
    margin-top: 20px;
    text-align: center;
}

.vs-image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    border: 2px solid #FFB800;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.2);
}

.vs-remove-image-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vs-remove-image-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* ====================================
   Captcha Styles
   ==================================== */
.vs-captcha-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.vs-captcha-code {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF0CC 100%);
    border: 2px solid #FFB800;
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 5px;
    user-select: none;
    font-family: 'Courier New', monospace;
}

.vs-captcha-code span {
    font-family: 'Courier New', monospace;
}

.vs-refresh-btn {
    background: #FFB800;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vs-refresh-btn:hover {
    background: #E6A400;
    transform: rotate(90deg);
}

.vs-refresh-btn:active {
    transform: scale(0.95) rotate(90deg);
}

/* ====================================
   Submit Button
   ==================================== */
.vs-submit-btn {
    background: #FFB800;
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 1px;
}

.vs-submit-btn:hover {
    background: #E6A400;
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.3);
    transform: translateY(-2px);
}

.vs-submit-btn:active {
    transform: translateY(0);
}

.vs-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* ====================================
   Form Message
   ==================================== */
.vs-form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.vs-form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vs-form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ====================================
   Responsive Styles
   ==================================== */
@media (max-width: 992px) {
    .vs-feedback-title {
        font-size: 2rem;
    }

    .vs-feedback-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .vs-feedback-title {
        font-size: 1.8rem;
    }

    .vs-feedback-section {
        padding: 50px 0;
    }

    .vs-feedback-wrapper {
        padding: 30px;
        margin: 20px;
    }

    .vs-file-label {
        padding: 30px 15px;
    }

    .vs-file-label i {
        font-size: 2rem;
    }

    .vs-image-preview {
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    .vs-feedback-title {
        font-size: 1.5rem;
    }

    .vs-feedback-subtitle {
        font-size: 0.95rem;
    }

    .vs-feedback-section {
        padding: 40px 0;
        min-height: auto;
    }

    .vs-feedback-wrapper {
        padding: 20px;
        margin: 10px;
        border-radius: 10px;
    }

    .vs-form-group {
        margin-bottom: 20px;
    }

    .vs-form-label {
        font-size: 0.9rem;
    }

    .vs-form-input,
    .vs-form-textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .vs-captcha-wrapper {
        flex-wrap: wrap;
    }

    .vs-captcha-code {
        min-width: 100%;
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .vs-refresh-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .vs-submit-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .vs-file-label {
        padding: 20px 10px;
    }

    .vs-file-label i {
        font-size: 1.8rem;
    }

    .vs-file-label span {
        font-size: 0.9rem;
    }

    .vs-image-preview {
        max-height: 200px;
    }
}

/* ====================================
   Animation Styles
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vs-feedback-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInImage {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.vs-image-preview {
    animation: slideInImage 0.4s ease-out;
}
