﻿.captcha-container {
    width: 100%;
    max-width: 1170px;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-display {
    width: 100%;
    background: white;
    border-radius: 4px;
    /* padding: 10px; */
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 1px solid #DEE3ED;
}

#captchaImage {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    padding: 10px;
}

.captcha-controls {
    display: flex;
    justify-content: center;
    /* gap: 15px; */
    /* margin: 15px 0; */
    height: 100%;
    /* padding: 10px; */
}

.control-btn {
    width: 72px;
    /* height: 45px; */
    border: none;
    border-left: 1px solid #DEE3ED;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    padding: 10px;
}

.captcha-input-container {
    position: relative;
    width: 100%;
}

#captchaInput {
    width: 100%;
    height: 72px;
    padding: 15.5px 16px;
    border-radius: 4px;
    outline: 1px solid #DEE3ED;
    font-family: Mulish, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #222943;
    border: unset;
    background-color: white;
}

    #captchaInput::placeholder {
        color: #6E7491;
        opacity: 1;
    }

.captcha-input-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Mulish;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #222943;
    pointer-events: none;
    transition: all 0.2s ease;
}

#captchaInput:focus + .captcha-input-label,
#captchaInput:not(:placeholder-shown) + .captcha-input-label {
    top: 15.5px;
    transform: unset;
    font-family: Mulish;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.01em;
}

.captcha-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
    width: 100%;
}

    .captcha-message.success {
        display: block;
        background-color: #e8f5e9;
        color: #2e7d32;
        border: 1px solid #c8e6c9;
    }

    .captcha-message.error {
        display: block;
        background-color: #ffebee;
        color: #c62828;
        border: 1px solid #ffcdd2;
    }

/* Buton stilleri */
/* .audio-btn {
    background: linear-gradient(145deg, #4CAF50, #45a049);
}

.refresh-btn {
    background: linear-gradient(145deg, #2196F3, #1976D2);
} */

.control-btn i {
    color: #3D249F;
    font-size: 20px;
}

/* .control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.control-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */

.control-btn.clicked {
    transform: scale(0.95);
}
