/* Pre-Poya Module Styles */

/* Navbar */
.prepoya-navbar {
    background: linear-gradient(135deg, #1b5e20, #388e3c);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    min-height: 70px;
    position: sticky;
    top: 0;
    z-index: 1100;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.btn-switch-system {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 0.85rem;
}

.btn-switch-system:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Floating system switch button */
.btn-floating-switch {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1090;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-floating-switch:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.5);
    text-decoration: none;
}

.btn-floating-switch:active {
    transform: translateY(0);
}

/* Ensure modals appear above the sticky prepoya navbar (z-index 1100) */
.modal {
    z-index: 1110 !important;
}
.modal-backdrop {
    z-index: 1105 !important;
}

/* System selection card hover */
.system-select-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.system-select-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2) !important;
}

/* Location Information (same as newcomer registration) */
.location-clear-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.location-clear-btn:hover {
    background-color: #e9ecef;
    color: #dc3545;
}
.location-clear-btn:active {
    transform: scale(0.95);
}
.location-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.location-input-wrapper input {
    flex: 1;
}
