
/* Destek formu stilleri */

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-form {
    width: 70%;
    height: auto;
    margin-bottom: 100px;
    padding: 50px;
    border: 5px solid #cacaca;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.support-form h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 25px;
    font-weight: bolder;
    color: #00645f;
    text-decoration: underline;
}

.support-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.support-form input,
.support-form textarea {
    width: 97%;
    height: auto;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.file-upload-label {
    display: inline-block;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #00645f;
    transition: transform 0.5s ease, background-color 0.5s ease;
}

.file-upload-label:hover {
    background-color: #004d40;
    transform: scale(1.05);
}

.file-upload-label img {
    vertical-align: middle;
    width: 30px;
    height: auto;
}

#file-upload {
    display: none; 
}

.support-form .submit-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: auto;
    height: auto;
    padding: 10px 15px;
    font-size: 16px;
    color: #ffffff;
    background-color: #00645f;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.5s ease, transform 0.5s ease;  
}

.support-form .submit-button:hover {
    background-color: #004d40;
    transform: scale(1.05);
}

.support-form .submit-button img {
    width: 30px;
    height: auto;
}

.support-form .form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
    color: #555;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.right-button {
    display: flex;
    align-items: center;
    gap: 30px;
}

.upload-message {
    display: none;
    margin: 0px 0px 20px 0px;
    font-size: 15px;
    color: #28a745;
}

.form-note {
    padding: 10px;
    border: 2px dotted #4b4a4a;
    border-radius: 10px;
}

/* Mobil stili */

@media (max-width: 1080px) {
    .support-form {
        width: 85%;
        height: auto;
        padding: 20px;
        margin-bottom: 100px;
    }

    .support-form h2 {
        font-size: 23px;
        margin: 20px 0px 60px;
    }

    .support-form input,
    .support-form textarea {
        font-size: 14px;
        padding: 10px;
    }

    .button-container {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .support-form .submit-button {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px 5px;
    }

    .file-upload-label {
        width: auto;
        height: auto;
    }

    .file-upload-label img,
    .support-form .submit-button img {
        width: 25px;
    }

    .form-note {
        font-size: 14px;
    }

    .upload-message {
        font-size: 14px;
    }
}

/* --------------------------------------------------------- */

/* Captcha bolumu stilleri */

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#captchaCanvas {
    border: 2px solid #ccc;
    border-radius: 5px;
    user-select: none;
}

.captcha-input-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#captchaInput {
    width: 100px;
    height: 40px;
    margin: 0;
    padding: 5px 10px;
    font-size: 14px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.captcha-error {
    color: red;
    font-size: 13px;
    display: none;
    margin: 0;
}

/* Mobil stili */

@media (max-width: 1080px) {
    .captcha-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }

    #captchaCanvas {
        width: 95%;
        height: auto;
    }

    .captcha-input-wrapper {
        width: 100%;
        height: auto;
    }

    #captchaInput {
        width: 100px;
        height: 25px;
    }

    .captcha-error {
        font-size: 14px;
    }
}

/* Dosya yukleme ve captcha bilgisi stilleri */

.upload-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
}

.upload-modal-content {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.checkmark-gif {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    cursor: pointer;
    user-select: none;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #888;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #000;
}

/* --------------------------------------------------------- */

