* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;

}

body {
    min-height: 100vh;
    background: radial-gradient(#1c1c1c, #000);
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    position: absolute;
    top: 1rem;
    left: 2rem;
}

header img {
    position: relative;
    bottom: 5rem;
    width: 350px;
}

form {
    width: 100%;
    max-width: 380px;
    background: #1B1B1B;
    border-radius: 1.2rem;
    padding: 2.5rem 2rem;
    border: 1px solid white;
    box-shadow: 0 0 100px rgba(181, 168, 168, 0.6);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff3c3c;
}

form input {
    height: 2.5rem;
    border-radius: 30px;
    border: 1.5px solid #ccc;
    padding-left: 2.5rem;
    outline: none;
}

.icon_email {
    background: url("images/icons/emaillogo.png") no-repeat 10px center;
    background-size: 18px;
    background-color: #f1f3f4;
}

.icon_password {
    background: url("images/icons/password.png") no-repeat 10px center;
    background-size: 18px;
    background-color: #f1f3f4;
}

.remember_me {
    display: flex;
    align-items: center;
    color: #f1f3f4;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.remember_me input {
    width: 16px;
    height: 16px;
    accent-color: #1bb675;
}

.login_btn {
    width: 100%;
    height: 2.7rem;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #ff3c3c, #ff0000);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.continue {
    position: relative;
    top: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: gray;
}

.Continue_account {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.Continue_account img {
    width: 44px;
    cursor: pointer;
    transition: transform 1s ease;
}

.Continue_account img:hover {
    transform: scale(1.2);
}

.no_account {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #f1f3f4;
}

.no_account a {
    text-decoration: none;
    color: #7b2cff;
    font-weight: bold;
}

form .googleacc {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    background: white;
    border-radius: 10px;
    border: 1px solid #dadce0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    visibility: hidden;
    z-index: 100;
}

body:has(form .Continue_account .google:focus) .googleacc {
    visibility: visible;
}

.google_logo {
    display: block;
    margin: 0 auto 1rem auto;
    height: 40px;
}

.googleacc .choose {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #202124;
    font-family: Arial, sans-serif;
}

.google_accounts {
    width: 100%;
}

.acc1,
.acc2 {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
}

.acc1:hover,
.acc2:hover {
    background: #f1f3f4;
}

.acc1 {
    border-top: 1px solid #e0e0e0;
}

.acc1 img {
    position: absolute;
    left: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.acc1 .topname {
    position: relative;
    right: 5.2rem;
    margin-left: 0.8rem;
    font-size: 0.9rem;
    color: #202124;
    font-family: Arial, sans-serif;
}

.topname1 {
    position: relative;
    right: 3.6rem;
    font-size: 0.9rem;
    color: #202124;
    font-family: Arial, sans-serif;

}

.acc1 .bottom {
    position: relative;

    right: 4.3rem;
    display: block;
    margin-left: 2.9rem;
    font-size: 0.75rem;
    color: #5f6368;
    font-family: Arial, sans-serif;
}

.acc2 {

    border-top: 1px solid #e0e0e0;
}

.acc2 i {
    position: absolute;
    left: 1rem;
    font-size: 1.5rem;
    color: #5f6368;
}

.acc2 .topname1 {
    margin-left: 0.8rem;
    font-size: 0.9rem;
    color: #202124;
    font-family: Arial, sans-serif;
}

.terms {
    padding: 1rem 1.2rem 0;
    font-size: 0.75rem;
    color: #5f6368;
    font-family: Arial, sans-serif;
}

.terms span {
    color: #1a73e8;
}

#blur-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(3px);
    visibility: hidden;
    z-index: 20;
}

body:has(.Continue_account .google:focus) #blur-overlay {
    visibility: visible;
}