* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f7fcff url('../img/header_bg.jpg') no-repeat;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    perspective: 1000px;
}

.card {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.16);
    padding: 40px 35px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    color: #333;
}

.card:hover {
    /*transform: rotateY(5deg) rotateX(5deg);*/
}

.logo-area {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 45px;
    margin-bottom: 15px;
}

.logo-area p {
    font-size: 14px;
    color: #666;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}


.input-group input {
    width: 100%;
    padding: 12px 12px;
    background: #f9f9f9;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    outline: none;
    color: #333;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: #f1f1f1;
    border-color: #409eff;
    box-shadow: 0 0 0 3px rgba(66, 166, 255, 0.2);
}

.input-group input::placeholder {
    color: #c5c5c5;
}

.captcha-area {
    display: flex;
    gap: 12px;
}

.captcha-img {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 5px;
    color: #333;
    background-color: #f0f0f0;
    user-select: none;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #328ef4;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    /*transform: translateY(-2px);*/
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);*/
    background: #247ddf;
}

.login-btn:active {
    transform: translateY(0);
}

.footer {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #555;
}

.footer a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #205ad9;
    text-decoration: underline;
    text-decoration-color: #205ad9;
}

@media (max-width: 500px) {
    .container {
        max-width: 90%;
    }
    
    .card {
        padding: 30px 25px;
    }
    
    .logo-area h1 {
        font-size: 24px;
    }
}