:root {
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --primary-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --text-main: #f8fafc;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Auth Cards */
.container {
    width: 100%;
    max-width: 420px;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
}

.logo-area {
    text-align: center;
    margin-bottom: 25px;
}

.shield-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.ai-text {
    color: var(--primary-pink);
}

.toggle-container {
    display: flex;
    background: rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.toggle-btn {
    flex: 1;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--primary-pink);
    color: white;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.input-group input {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 10px;
    color: white;
    outline: none;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

/* Dashboard Wizard Layout */
.dashboard-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
}

.dash-logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.dash-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.wizard-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.wizard-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.wizard-input-row input {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
}

.action-btn {
    width: 100%;
    background: var(--accent-purple);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.location-auth-box {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 15px;
}

/* Main UI Grid and Systems */
.dash-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sos-section {
    text-align: center;
}

.sos-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.sos-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, #f43f5e 0%, #be123c 100%);
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    border: 5px solid rgba(244, 63, 94, 0.2);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
    transition: transform 0.2s;
}

.sos-circle:active {
    transform: scale(0.95);
}

.status-text {
    font-size: 0.85rem;
    color: #10b981;
}

.location-box {
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mock-map {
    height: 120px;
    background: rgba(0,0,0,0.2);
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.map-placeholder {
    color: #64748b;
    font-size: 0.85rem;
}
