:root {
    --if-green-primary: #2f9e44;
    --if-green-dark: #237b32;
    --if-green-light: #ebfbee;
    --if-red: #e03131;
    --bg-global: #f8f9fa;
    --text-main: #212529;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-global);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.brand-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.if-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.if-dot {
    width: 12px;
    height: 12px;
    background-color: var(--if-red);
    border-radius: 50%;
    display: inline-block;
}

.main-card {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.card-accent-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--if-red) 15%, var(--if-green-primary) 15%);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--if-green-primary);
    box-shadow: 0 0 0 4px rgba(47, 158, 68, 0.15);
}

.info-box {
    background-color: var(--if-green-light);
    border-left: 4px solid var(--if-green-primary);
    border-radius: 8px;
    color: var(--if-green-dark);
    font-size: 0.88rem;
}

.form-check-input:checked {
    background-color: var(--if-green-primary);
    border-color: var(--if-green-primary);
}

.btn-outline-secondary.active,
.btn-check:checked + .btn-outline-secondary {
    background-color: var(--if-green-primary);
    border-color: var(--if-green-primary);
    color: white;
}

.btn-submit {
    background-color: var(--if-green-primary);
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--if-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(35, 123, 50, 0.2);
}

.btn-submit:active {
    transform: translateY(1px);
}

.alert-danger {
    background-color: #fff5f5;
    border-color: #ffe3e3;
    color: var(--if-red);
    border-radius: 10px;
}

/* Toggle Switch Customizado */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 1.75rem;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 999px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.35rem;
    width: 1.35rem;
    left: 0.2rem;
    bottom: 0.2rem;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--if-green-primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(1.75rem);
}

.bg-light {
    background-color: var(--bg-global) !important;
    border: thin solid var(--if-green-primary) !important;
}