* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f6f3ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


/* ============================================= LOGIN ========================================== */


.login-card {
    width: 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.card-image {
    height: 140px;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 70%, #ffffff 100%),
        url("../api/images/login.jpg");
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 22px;
}

form {
    text-align: left;
}

label {
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}

.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    background: #fafafa;
}

.input-group i {
    color: #999;
    margin-right: 8px;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.options a {
    color: #c35a0a;
    text-decoration: none;
}

.remember {
    display: flex;
    gap: 5px;
    align-items: center;
}

.login-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: #c35a0a;
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.login-btn:hover {
    background: #a84b08;
    transform: translateY(-1px);
}

.create-account {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}

.create-account a {
    color: #c35a0a;
    font-weight: 500;
    text-decoration: none;
}

/* ============================================= REGISTER ========================================== */

.register-card {
    width: 420px;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.register-card h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.register-card label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    margin-top: 12px;
}

.register-card input {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: 1px solid #e3d5ca;
    outline: none;
    background: #faf8f6;
}

.register-card input:focus {
    border-color: #c35a0a;
}

.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-top: 15px;
    color: #666;
}

.terms a {
    color: #c35a0a;
    text-decoration: none;
}

.create-btn {
    width: 100%;
    margin-top: 20px;
    padding: 13px;
    border: none;
    border-radius: 25px;
    background: #c35a0a;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.create-btn:hover {
    background: #a84b08;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #aaa;
    font-size: 12px;
}

.divider span {
    flex: 1;
    height: 1px;
    background: #eee;
}

.signin-link {
    text-align: center;
    font-size: 13px;
}

.signin-link a {
    color: #c35a0a;
    text-decoration: none;
    font-weight: 500;
}

footer{
    width:100%;
}

body:has(.login-card ,.register-card) .site-header{
    position: static;
}
