* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
}

/* Split Layout */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

.split-left {
    flex: 1.5;
    background: url('../bg.jpg') no-repeat center center/cover;
    background-color: #e0f2fe; /* fallback color */
}

.split-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
}

/* Header */
.wrapper {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.header img {
    width: 180px;
}

/* Welcome */
.welcome span {
    font-size: 13px;
}

.welcome h2 {
    color: #007bff;
    font-size: 20px;
    margin-top: 5px;
}

/* Card */
.login-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.login-box {
    width: 340px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    color: #aaa;
    cursor: pointer;
}

.tab.active {
    color: #000;
    border-bottom: 2px solid #007bff;
}

/* Form */
.form-group {
    margin-top: 15px;
    text-align: left;
}

.form-group label {
    font-size: 13px;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.input-text {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.input-text:focus {
    border-color: #007bff;
}

/* Password */
.input-icon {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 10px;
}

.input-icon input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
}

.input-icon i {
    cursor: pointer;
    color: #888;
}

/* Errors */
small {
    color: red;
    font-size: 12px;
    display: none;
}

/* Extras */
.forgot {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.checkbox-row {
    margin: 10px 0;
    font-size: 13px;
}

/* Buttons */
.buttons-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(#00a4ff, #0067ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    border: 1px solid #007bff;
    color: #007bff;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
}

/* Top pill */
.top-right-pill {
    position: fixed;
    top: 15px;
    right: 15px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #b3d4ff;
    color: #555;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 90px;
}

.dropdown-selected {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #002244;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    overflow: hidden;
    margin-top: 5px;
}

.dropdown-options.show {
    display: block;
}

.dropdown-options div {
    padding: 15px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-options div:last-child {
    border-bottom: none;
}

.dropdown-options div:hover {
    background: #003366;
}

.dropdown-options .opt-blue {
    background: #0055ff;
    font-weight: 500;
}
.dropdown-options .opt-blue:hover {
    background: #0044cc;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .split-left {
        display: none;
    }
    .split-right {
        flex: 1;
        width: 100%;
        padding: 10px;
    }
    .wrapper {
        padding-top: 20px;
    }
}