.signin-top-space {
    height: 100px;
}

.signin-block-wrap {
    margin-bottom: 20px;
}

.signin-title {
    margin: 0 0 18px;
    color: #d9534f;
    font-size: 1.05rem;
    text-align: center;
}

.card {
    width: 100%;
    max-width: 380px;
    padding: 40px 30px;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.login_btn {
    width: 100%;
    color: #fff !important;
    background: #c0392b !important;
}

.login_btn:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.login_container {
    padding: 0 2rem;
}

.phone-container {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: border-color .3s, box-shadow .3s;
}

.phone-container:focus-within {
    border-color: #7f00ff;
    box-shadow: 0 0 5px rgba(127, 0, 255, .3);
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-right: 1px solid #ccc;
    color: #333;
    background: #f2f2f2;
    font-weight: 600;
}

.phone-container input {
    min-width: 0;
    flex: 1;
    padding: 9px;
    border: 0;
    outline: 0;
    font-size: 15px;
}

.password-box {
    position: relative;
    min-width: 0;
    flex: 1;
}

.password-box input {
    width: 100%;
    padding-right: 42px;
}

.eye {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.forgot-password-link {
    color: #c62828;
}

@media (max-width: 575.98px) {
    .signin-top-space { height: 50px; }
    .card { padding: 30px 20px; }
    .login_container { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .card { transition: none; }
    .card:hover { transform: none; }
}
