.notification {
    padding: 12px 35px 12px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease;
}
.notification-error {
    background-color: #fff3f3;
    border: 1px solid #ffcccc;
    color: #cc0000;
}
.notification-success {
    background-color: #f0fff0;
    border: 1px solid #ccffcc;
    color: #006600;
}
.notification-warning {
    background-color: #fff8f0;
    border: 1px solid #ffe0b2;
    color: #cc6600;
}
.notification-text {
    flex: 1;
    text-align: center;
    font-size: 15px;
}
.notification-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
}
.notification-close:hover {
    opacity: 1;
}
.input-error {
    border-color: #cc0000 !important;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.1) !important;
    animation: shake 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.step-description {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.resend-code {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.resend-code .link {
    color: #093055;
    text-decoration: underline;
    cursor: pointer;
}

.resend-code .timer {
    color: #999;
}

.input-block select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-step {
    transition: opacity 0.3s ease;
}

.resendCode {
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

.resendCode:not(:disabled):hover {
    background: white !important;
    color: black !important;
    border-color: red !important;
}

.resendCode:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.resendCode:not(:disabled):hover i {
    color: black !important;
}

#resendTimerReg {
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
}

.spinner-border {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
    vertical-align: middle;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

@media (max-width: 576px) {
    .notification {
        font-size: 12px;
        padding: 10px 30px 10px 10px;
    }
}

.password-strength {
    margin-top: 8px;
}

.strength-bars {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

/* Классы для цветов */
.strength-bar.weak {
    background-color: #ff4444;
}

.strength-bar.medium {
    background-color: #ffa500;
}

.strength-bar.strong {
    background-color: #00c851;
}

.strength-text {
    font-size: 12px;
    margin: 0;
    transition: color 0.3s ease;
}

.strength-text.weak {
    color: #ff4444;
}

.strength-text.medium {
    color: #ffa500;
}

.strength-text.strong {
    color: #00c851;
}


@keyframes barGrow {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.strength-bar {
    transform-origin: left;
    animation: barGrow 0.3s ease-out;
}
