/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
    background-color: #fff;
    color: #202124;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Main Card */
.card {
    width: 450px;
    max-width: 100%;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 48px 40px 36px 40px;
    text-align: left;
}

.logo svg {
    display: block;
    margin-bottom: 24px;
}

h1 {
    font-size: 24px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 8px;
    text-align: left;
}

.subtitle {
    font-size: 16px;
    color: #202124;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Educational Warning Box */
.warning {
    background-color: #fef7e0;
    color: #202124;
    border: 1px solid #fdd663;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.warning strong {
    display: block;
    color: #b06000;
    margin-bottom: 4px;
    font-weight: 500;
}

/* Floating Label Inputs */
.input-group {
    position: relative;
    margin-bottom: 12px;
}

.input-group input {
    width: 100%;
    height: 56px;
    border: 1px solid #80868b;
    border-radius: 4px;
    padding: 14px 16px 0;
    font-size: 16px;
    font-family: inherit;
    color: #202124;
    outline: none;
    transition: border-color 0.2s;
    background: transparent;
}

.input-group input:focus {
    border: 2px solid #1a73e8;
    padding: 13px 15px 0;
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 16px;
    color: #80868b;
    pointer-events: none;
    transition: 0.2s ease all;
}

/* Floating effect */
.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: 8px;
    font-size: 12px;
    color: #1a73e8;
}

/* Links & Text */
.forgot-email {
    display: inline-block;
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
}

.guest-text {
    font-size: 14px;
    color: #5f6368;
    margin: 24px 0;
    line-height: 1.5;
}

.guest-text a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

/* Checkbox */
.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 24px;
    cursor: pointer;
}

.checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #1a73e8;
    cursor: pointer;
}

/* Bottom Action Row */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.create-account {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
}

.create-account:hover {
    background-color: #f6f9fe;
    border-radius: 4px;
}

/* Buttons */
button {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    min-width: 88px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

button:hover {
    background-color: #1765cc;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

button:active {
    background-color: #1558b0;
}

/* Footer */
.google-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dadce0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #5f6368;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-lang {
    display: flex;
    align-items: center;
    color: #5f6368;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #5f6368;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 500px) {
    .card {
        border: none;
        padding: 24px;
        width: 100%;
    }

    .google-footer {
        padding: 16px 24px;
        justify-content: center;
        text-align: center;
    }
}