
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
}

.recovery-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    width: 100%;
    max-width: 950px;
    margin: 20px;
    overflow: hidden;
}

.logo-section {
    background-color: #00aeef;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
    position: relative;
    border-radius: 0 120px 0 0;
    text-align: center;
}

.logo-section img {
    max-width: 100%;
    height: auto;
}

.logo-text {
    color: white;
    font-size: 1.1em;
    line-height: 1.4;
}

.recovery-section {
    padding: 40px;
    width: 60%;
}

.form-control {
    padding: 12px 12px 12px 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    height: auto;
}

.form-control:focus {
    box-shadow: none;
    background: #f0f0f0;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.required-asterisk {
    color: red;
    margin-left: 4px;
    font-size: 0.8em;
}

.captcha-container {
    margin: 15px 0;
}

.captcha-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
}

#captcha-display {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #444;
    user-select: none;
    position: relative;
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}

#captcha-display::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #00aeef;
    transform: translateY(-50%) rotate(-5deg);
}

#refresh-captcha {
    border: none;
    background: transparent;
    color: #00aeef;
    font-size: 1em;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.3s ease;
}

#refresh-captcha:hover {
    transform: rotate(180deg);
}

#captcha-input {
    padding: 8px 12px;
    font-size: 14px;
    text-align: center;
    letter-spacing: 2px;
    margin-top: 5px;
}

.captcha-error {
    color: red;
    font-size: 0.75em;
    display: none;
    margin-top: 4px;
}

.btn-recovery {
    background: #00aeef;
    border: none;
    padding: 12px;
}

.btn-recovery:hover {
    background: #0095cc;
}

@media (max-width: 768px) {
    .recovery-container {
        flex-direction: column;
        max-width: 400px;
    }

    .logo-section {
        width: 100%;
        padding: 30px;
        border-radius: 24px 24px 0 0;
    }

    .recovery-section {
        width: 100%;
        padding: 30px;
    }

    .logo-text {
        font-size: 1em;
    }

    .captcha-box {
        width: 100%;
        justify-content: center;
    }
}
