/* Feedback Page Styling */

.flat-feedback {
    padding: 80px 0px 60px;
}

.ssr-feedback-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.ssr-feedback-content h5 {
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: #161e2d;
    margin-bottom: 12px;
}

.ssr-feedback-content .body-2 {
    color: #5c6368;
    margin-bottom: 30px;
}

.ssr-form-feedback {
    margin-top: 20px;
}

.ssr-form-feedback fieldset {
    margin-bottom: 20px;
}

.ssr-form-feedback label {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #161e2d;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.ssr-form-feedback .form-control {
    border: 1px solid #e4e4e4;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    color: #161e2d;
    background-color: #ffffff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ssr-form-feedback .form-control:focus {
    border-color: #1e4182 !important;
    box-shadow: 0 0 0 3px rgba(230, 160, 99, 0.1);
}

.ssr-form-feedback .form-control.is-invalid {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.ssr-form-feedback textarea {
    resize: vertical;
    min-height: 150px;
}

/* Image Upload Section */
.ssr-image-upload-container {
    position: relative;
    margin-bottom: 15px;
}

.ssr-image-input {
    display: none;
}

.ssr-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    border: 2px dashed #1e4182;
    border-radius: 8px;
    background-color: rgba(230, 160, 99, 0.05);
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align: center;
}

.ssr-upload-label:hover {
    background-color: rgba(230, 160, 99, 0.1);
    border-color: #d68f54;
}

.ssr-upload-label i {
    font-size: 36px;
    color: #1e4182;
    margin-bottom: 12px;
}

.ssr-upload-label span {
    font-size: 16px;
    color: #161e2d;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Image Preview */
.ssr-image-preview-container {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f7f7f7;
    padding: 12px;
}

.ssr-image-preview {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.ssr-btn-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ff6b6b;
    color: white;
    border: 0;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ssr-btn-remove-image:hover {
    background-color: #ff5252;
}

/* Error Messages */
.error-message {
    color: #ff6b6b;
    font-size: 12px;
    display: none;
    margin-top: 5px;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

.form-control.is-invalid {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

/* CAPTCHA Box */
.ssr-captcha-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e4e4e4;
    margin-top: 10px;
}

.ssr-captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ssr-captcha-header p {
    margin: 0;
    font-weight: 600;
    color: #161e2d;
    font-size: 16px;
    line-height: 26px;
}

.ssr-btn-refresh-captcha {
    background-color: #004cc7;
    color: white;
    border: 0;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ssr-btn-refresh-captcha:hover {
    background-color: #003d99;
}

/* Grid 2 columns */
.ssr-box.ssr-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Submit Button */
.ssr-send-wrap {
    margin-top: 30px;
}

.tf-btn {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    border: 1px solid #1e4182;
    background-color: #1e4182;
    color: white;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tf-btn:hover {
    background-color: #d68f54;
    border-color: #d68f54;
}

/* Sidebar */
.ssr-feedback-info {
    padding: 0;
    position: sticky;
    top: 100px;
}

.ssr-feedback-info h5 {
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #161e2d;
    margin-bottom: 24px;
}

.ssr-feedback-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.ssr-feedback-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e4e4e4;
}

.ssr-feedback-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ssr-feedback-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.ssr-feedback-icon i {
    color: #1e4182;
    font-size: 20px;
}

.ssr-feedback-text span {
    display: block;
    font-size: 16px;
    line-height: 26px;
    color: #5c6368;
    font-weight: 500;
    letter-spacing: 1px;
}

.ssr-feedback-contact-box {
    background-color: #f7f7f7;
    padding: 24px;
    border-radius: 12px;
}

.ssr-feedback-contact-box h6 {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #161e2d;
    margin-bottom: 12px;
}

.ssr-feedback-contact-box .text-variant-1 {
    color: #5c6368;
    margin-bottom: 16px;
}

.ssr-contact-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ssr-contact-links li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-size: 16px;
    line-height: 26px;
}

.ssr-contact-links li:last-child {
    margin-bottom: 0;
}

.ssr-contact-links i {
    color: #1e4182;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.ssr-contact-links a {
    color: #5c6368;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ssr-contact-links a:hover {
    color: #1e4182;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .ssr-feedback-content {
        padding: 24px;
    }

    .ssr-box.ssr-grid-2 {
        grid-template-columns: 1fr;
    }

    .ssr-feedback-content h5 {
        font-size: 22px;
        line-height: 30px;
    }

    .ssr-upload-label {
        padding: 30px 20px;
    }

    .ssr-upload-label i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .ssr-upload-label span {
        font-size: 14px;
    }

    .ssr-feedback-info {
        margin-top: 30px;
    }

    .ssr-feedback-info h5 {
        font-size: 20px;
        line-height: 28px;
    }
}

@media only screen and (max-width: 480px) {
    .ssr-feedback-content {
        padding: 16px;
    }

    .ssr-feedback-content h5 {
        font-size: 18px;
        line-height: 26px;
    }

    .ssr-form-feedback label {
        font-size: 14px;
    }

    .ssr-upload-label {
        padding: 20px 10px;
    }

    .ssr-image-preview {
        max-width: 150px;
        max-height: 150px;
    }

    .ssr-captcha-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ssr-btn-refresh-captcha {
        margin-top: 8px;
    }

    .tf-btn {
        width: 100%;
        padding: 12px 20px;
    }
}
