* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: url('../img/bg-login.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.login-container {
    width: 100%;
    padding: 20px;
}

/* Card */
.login-card {
    max-width: 380px;
    margin: auto;
    padding: 35px 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0,0,0,0.25);
    color: #fff;
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.glass-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-icon svg {
    width: 32px;
    fill: white;
}

.login-header h2 {
    margin: 15px 0 5px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.8;
}

/* Inputs */
.form-group {
    margin-bottom: 18px;
}

.glass-input {
    background: rgba(255,255,255,0.25);
    border-radius: 30px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.glass-input input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    color: #fff;
    font-size: 14px;
}

.glass-input input::placeholder {
    color: #eee;
}

/* Password */
.password-group {
    position: relative;
}

.toggle-password {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

/* Options */
.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 25px;
}

.form-options a {
    color: #fff;
    text-decoration: none;
}

/* Button */
.glass-button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    background: #ffd6b3;
    color: #333;
    transition: 0.3s;
}

.glass-button:hover {
    transform: translateY(-2px);
}

/* Error */
.error-message {
    font-size: 12px;
    color: #ffb3b3;
    margin-left: 10px;
}

.avatar-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

input:focus,
input:active {
  outline: none !important;
  box-shadow: none !important;
}
