/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #00aeef, #007ebe);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-icon input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    transition: 0.3s;
}

.input-icon input:focus {
    border-color: #00aeef;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #00aeef;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #007ebe;
}

.bottom-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.bottom-text a {
    color: #00aeef;
    text-decoration: none;
    font-weight: bold;
}

/* register */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #00aeef, #007ebe);
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-container {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.register-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-icon input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    transition: 0.3s;
}

.input-icon input:focus {
    border-color: #00aeef;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
    outline: none;
}

.register-btn {
    width: 100%;
    padding: 12px;
    background: #00aeef;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.register-btn:hover {
    background: #007ebe;
}

.bottom-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.bottom-text a {
    color: #00aeef;
    text-decoration: none;
    font-weight: bold;
}

/* Base message style */
.alert-message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    z-index: 9999;
    opacity: 1;
    transition: all 1s ease;
}

/* Success Message Style */
.success-message {
    background-color: #e0fbe3;
    border-left: 5px solid #34a853;
    color: #207245;
}

/* Error Message Style */
.error-message {
    background-color: #fde0e0;
    border-left: 5px solid #a8343e;
    color: #722020;
}

/* Slide Out Effect (Right) */
.fade-out {
    opacity: 0;
    /* transform: translateX(100%); */
    transition: all 1s ease;
}