* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #202124;
}

.container {
    width: 450px;
    padding: 48px 40px 36px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    text-align: center;
}

.logo {
    height: 24px;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: #202124;
    margin-bottom: 40px;
}

.input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 13px 15px;
    font-size: 16px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #1a73e8;
    border-width: 2px;
    padding: 12px 14px; /* Adjust for border width change */
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    color: #5f6368;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

/* Efek label naik saat input fokus atau ada nilai */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: #1a73e8;
}

.error-msg {
    color: #d93025;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    text-align: left;
    visibility: hidden;
}

.links {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 40px;
}

.forgot {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.footer {
    text-align: left;
}

.create-account {
    font-size: 14px;
    color: #202124;
    margin-bottom: 30px;
}

.create-account a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cancel {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.next-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.next-btn:hover {
    background-color: #1558b0;
}