﻿.contactUs-desc, .contactUs-desc--title, .contact-title {
    color: #1E146E;
}

.contactUs-desc {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 20px 0;
    font-size: 14px;
    line-height: 25.63px;
    text-align: left;
    font-weight: 600;
}

.contactUs-desc--title {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
}

.contact-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 22px;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 20px;
}

.contactUs-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 8px;
}

.contactUs-input, textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    margin-top: 5px;
    border: 1px solid rgba(0, 0, 0, 0.23);
    color: rgba(0, 0, 0, 0.87);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    border-color: #757575;
    outline: none;
}

    .contactUs-input:focus, textarea:focus {
        border-color: #757575;
        outline: none;
    }

    

textarea {
    height: 180px;
    resize: none;
}

#characterCount {
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    line-height: 20px;
}

.application-button[type="button"] {
    height: 54px;
    border-radius: 12px;
    border: 1px solid #1E146E;
    background: #1E146E;
    color: #fff;
    cursor: pointer;
    width: 100%;
    padding: 15px;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
}

    .application-button[type="button"]:disabled {
        background: #A9A9A9;
        border: 1px solid #F9F9F9;
        color: #717171;
    }

    .application-button[type="button"]:enabled:hover {
        border: 1px solid rgb(26, 74, 122);
        background: rgb(26, 74, 122);
    }

.kvkk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-kvkk-content {
    background: #fff;
    width: 900px;
    box-shadow: 0px 4px 14px rgba(23, 39, 73, 0.05);
    border: 1px solid #f9f9f9;
    padding: 30px 16px 30px 30px;
    margin: 20px auto 0;
    max-height: 800px;
    overflow-y: auto;
}

    .modal-kvkk-content::-webkit-scrollbar {
        width: 8px;
    }

    .modal-kvkk-content::-webkit-scrollbar-thumb {
        background-color: #266baf;
        border-radius: 6px;
    }

    .modal-kvkk-content::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

.divtableClass td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

.contact-button {
    width: 376px;
    height: 46.5px;
    border-radius: 12px;
    padding: 11px 24px;
    gap: 10px;
    border: none;
    cursor: pointer;
    background-color: #1E146E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter';
    font-size: 14px;
}
    .contact-button:hover {
        background-color: #170F53;
    }

.contact-button:disabled,
.contact-button.disabled {
    background-color: #A9A9A9 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

    .contact-button:not(:disabled):hover {
        background-color: #170F53;
    }

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0;
    margin-top: -8px;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 13px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 14px;
    line-height: 22px;
    color: #333333;
    cursor: pointer;
    margin-left: 5px;
}

.kvkk-link {
    color: #266BAF;
    text-decoration: underline;
    font-weight: 500;
    size: 12px;
    font-family: 'Inter';
}

.kvkk-link:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 10px;
}

    .form-control:focus {
        border-color: #1E146E;
        outline: none;
    }

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.character-count, .text-muted {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

select {
    margin-bottom: 10px;
}

.contact-header {
    display: flex;
    align-items: center;
    padding: 15px;
    position: relative;
    margin-bottom: 20px;
}

.back-button {
    position: absolute;
    color: #1E146E;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: none;
    top: -27px;
}

.contact-title {
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
}

.contact-step {
    width: 100%;
    padding: 20px 24px;
    position: relative;
    transition: transform 0.3s ease;
    background: white;
    z-index: 1000;
    transform: translateX(0);
}

.contactUs-desc span:first-child {
    font-size: 16px;
    color: #1E146E;
    line-height: 25.63px;
}

.contactUs-desc span:last-child {
    font-weight: 400;
    font-size: 14px;
    line-height: 22.43px;
    letter-spacing: 0;
    color: #343A40;
}

.result-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 20px auto;
    position: relative;
    padding: 20px;
}

#contact-us-result {
    text-align: center;
    padding: 20px;
}

.error-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.result-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
}

.close-icon {
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

#contact-us-result h3 {
    margin: 16px 0;
    color: #37B24D;
    font-size: 16px !important;
    font-weight: 600;
}

#contact-us-result p {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.error-support-text {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    margin: 24px 0;
}

.result-button {
    width: 376px;
    height: 46.5px;
    border-radius: 12px;
    padding: 11px 24px;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 22px;
    background-color: #1E146E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .result-button.error {
        background-color: #FA5252 !important;
        color: white !important;
    }
    .result-button.error:hover {
        background-color: #892d33 !important;
    }

    .result-button.success {
        background-color: #37B24D !important;
        color: white !important;
    }
    .result-button.success:hover {
        background-color: #3c7041 !important;
    }
button[onclick="handleNextStep()"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #1E146E;
    color: white;
}

button[onclick="handleNextStep()"]:disabled {
    background-color: #E0E0E0 !important;
    color: #9E9E9E !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border: none !important;
    opacity: 1 !important;
}

    button[onclick="handleNextStep()"]:not(:disabled) {
        background-color: #1E146E !important;
        color: white !important;
    }

    button[onclick="handleNextStep()"]:not(:disabled):hover {
        background-color: #192748 !important;
    }

button[onclick="createTicket()"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #1E146E;
    color: white;
}

button[onclick="createTicket()"]:disabled {
    background-color: #E0E0E0 !important;
    color: #9E9E9E !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border: none !important;
    opacity: 1 !important;
}

button[onclick="createTicket()"]:not(:disabled) {
    background-color: #1E146E !important;
    color: white !important;
}

    button[onclick="createTicket()"]:not(:disabled):hover {
        background-color: #192748 !important;
    }

#contact-us-first-step .contact-button {
    margin-bottom: 16px;
}

.error-message {
    color: #FA5252;
    font-size: 12px;
    margin-top: 4px;
    padding-left: 17px;
    font-weight: 400 !important;
}

.form-input {
    border: 2px solid #A9A9A9;
}

.application-form-input-invalid {
    border: 2px solid #FA5252 !important;
}

.checkbox-container.error {
    border: 1px solid #FA5252;
    border-radius: 4px;
    padding: 8px;
}

.error-title {
    color: #FA5252;
    font-weight: 600;
    font-size: 16px;
    line-height: 25.63px;
    letter-spacing: 0;
    text-align: center;
    margin: 16px 0;
}

.input-container {
    position: relative;
    margin-bottom: 16px;
}

    .input-container .form-input {
        width: 100%;
        padding: 16px;
        border: 1px solid #A9A9A9;
        border-radius: 4px;
        outline: none;
        size: 14px;
        font-size: 14px;
        line-height: 22.43px;
        transition: border-color 0.3s ease;
    }
.input-container .form-input:focus {
    border-width:2px;
}

.input-container .floating-label {
    position: absolute;
    pointer-events: none;
    left: 16px;
    top: 20px;
    transition: all 0.2s ease;
    color: #A9A9A9;
}
.form-input:focus + .floating-label {
    top: 0;
    font-size: 12px;
    color: #1E146E !important;
    background-color: white;
    padding: 0 4px;
    transform: translateY(-50%);
}
    .input-container .form-input:focus + .floating-label,
    .input-container .form-input:not(:placeholder-shown) + .floating-label {
        top: 2px;
        font-size: 10px;
        color: rgb(0,0,0,0.6);
        background-color: white;
        padding: 0 4px;
        transform: translateY(-50%);
    }

    .input-container textarea.form-input {
        min-height: 120px;
        max-height: 460px;
        height: 120px;
        padding: 16px;
        resize: none;
        width: 100%;
        border: 1px solid #A9A9A9;
        border-radius: 4px;
        font-family: inherit;
        outline: none;
        box-sizing: border-box;
        transition: height 0.1s ease-in-out;
        overflow: hidden;
    }

.character-count {
    color: #A9A9A9;
    font-size: 12px;
    margin-top: 4px;
    text-align: right;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea.form-input + .floating-label {
    position: absolute;
    left: 16px;
    top: 25px;
    transform: none;
    background: transparent;
    transition: all 0.2s ease;
    pointer-events: none;
    border-color: #A9A9A9;
    outline: none;
}

textarea.form-input::placeholder {
    color: transparent;
    border-color: #A9A9A9;
    outline: none;
    top:50px;
}
.input-container textarea.form-input {
    min-height: 120px;
    max-height: 460px;
    height: 120px;
    padding: 16px;
    resize: none;
    width: 100%;
    border: 1px solid #A9A9A9;
    border-radius: 4px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: height 0.1s ease-in-out;
    overflow: hidden;
}

#contact-us-first-step .contact-button:not(:disabled):hover {
    background-color: #170F53;
}

.contact-button:not(:disabled):hover,
.result-button:hover,
.application-button:hover,
button[onclick="handleNextStep()"]:not(:disabled):hover,
button[onclick="createTicket()"]:not(:disabled):hover {
    background-color: #170F53 !important;
}

.contact-button:disabled,
.result-button:disabled,
.application-button:disabled,
button[onclick="handleNextStep()"]:disabled,
button[onclick="createTicket()"]:disabled,
.contact-button.disabled,
.result-button.disabled,
.application-button.disabled {
    background-color: #A9A9A9 !important;
    color: #FFFFFF !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border: none !important;
    opacity: 1 !important;
}

.contactUs-close {
    display: none;
}

.sidebar-toggle {
    position: fixed;
    width: 38.10px;
    height: 121.96px;
    background-color: #3A96A5;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    gap: 3px;
    cursor: pointer;
    transition: left 0.3s ease;
    z-index: 1001;
    transform: rotate(179.76deg);
    top: 46%;
    transform: translateX(600px) rotate(179.76deg);
    transition: transform 0.3s ease, left 0.3s ease;
}

.sidebar-toggle.active {
    display: flex;
    left: 1382px;
}

  
.sidebar-toggle.closed {
        transform: translateX(600px) rotate(179.76deg);
        transition: transform 0.6s ease, left 0.6s ease;
    }

    
.sidebar-toggle.open {
        transform: translateX(-58px) rotate(179.76deg);
        transition: transform 0.4s ease, left 0.4s ease;
        display: flex !important;
    }

.sidebar-toggle i {
    color: white;
    font-size: 16px;
    transform: rotate(-179.76deg);
}

.contact-step {
    position: relative;
    transition: transform 0.3s ease;
    background: white;
    z-index: 1000;
    transform: translateX(0);
}

.contact-step.closed {
    transform: translateX(-400px);
}

.input-container select.form-input + .floating-label {
    position: absolute;
    pointer-events: none;
    left: 16px;
    top: 16px;
    transition: all 0.2s ease;
    color: #A9A9A9;
    background: transparent;
}

.input-container select.form-input:focus + .floating-label,
.input-container select.form-input:not([value=""]) + .floating-label {
    top: 0;
    font-size: 10px;
    color: rgb(0,0,0,0.6);
    background-color: white;
    padding: 0 4px;
    transform: translateY(-50%);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.87) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.g-recaptcha {
    /*margin-top: -10px;*/
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.result-button,
.contact-button,
.application-button[type="button"],
button[onclick="handleNextStep()"],
button[onclick="createTicket()"] {
    border-radius: 12px;
}

    .result-button.error {
        width: 376px;
        background-color: #FA5252;
        border: none;
        border-radius: 12px;
        color: white;
        padding: 12px 0;
        cursor: pointer;
    }

.result-button.error:hover {
    background-color: #892d33;
}

.input-container textarea.form-input:focus:invalid + .floating-label,
.input-container textarea.form-input:required:invalid + .floating-label {
    color: #FA5252;
}

/* Hata durumunda floating label rengi - tüm durumlar için */
.input-container input.application-form-input-invalid ~ .floating-label,
.input-container textarea.application-form-input-invalid ~ .floating-label,
.input-container select.application-form-input-invalid ~ .floating-label {
    color: #FA5252 !important;
}

/* Hata durumunda input border rengi */
.input-container input.application-form-input-invalid,
.input-container textarea.application-form-input-invalid,
.input-container select.application-form-input-invalid {
    border-color: #FA5252 !important;
}

/* Hata mesajı rengi */
.application-form-span {
    color: #FA5252;
}
.input-container textarea.form-input::-webkit-scrollbar {
    width: 12px; /* Scrollbar genişliği */
    border-radius: 8px; /* Scrollbar'ın köşelerini input ile aynı yap */
    padding-right: 2px;
}

.input-container textarea.form-input::-webkit-scrollbar-track {
    background: transparent; /* Arkaplanı şeffaf yap */
    border-radius: 8px; /* Köşeleri yuvarlak olsun */
    margin: 2px;
}

.input-container textarea.form-input::-webkit-scrollbar-thumb {
    background: #A9A9A9; /* Scrollbar rengi */
    border-radius: 8px; /* Scrollbar köşeleri input gibi yuvarlak */
    border: 4px solid white; /* Scrollbar ile border arasında mesafe oluştur */
}

    .input-container textarea.form-input::-webkit-scrollbar-thumb:hover {
        background: #888; /* Hover olduğunda scrollbar rengi koyulaşsın */
    }

