/* SOS Emergency Call Application Styles */
.sos-app {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
}

.sos-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.sos-header {
    margin-bottom: 1.5rem;
}

.sos-icon {
    font-size: 5rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    animation: warning-pulse 1.5s ease-in-out infinite;
}

@keyframes warning-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

.sos-header h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sos-subtitle {
    color: #fbbf24;
    font-size: 1.125rem;
    font-weight: 600;
}

.warning-box {
    background: rgba(251, 191, 36, 0.15);
    border: 2px solid #fbbf24;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-box i {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-top: 0.125rem;
}

.warning-box p {
    color: #fef3c7;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

.sos-status {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-text {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.click-counter {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.click-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.click-dot.active {
    background: #fbbf24;
    border-color: #fbbf24;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.8);
    animation: dotPulse 0.3s ease;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.sos-button {
    width: 100%;
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.sos-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.7);
    border-color: #fbbf24;
}

.sos-button:active {
    transform: translateY(0);
}

.sos-button.activating {
    animation: shake 0.3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-12px);
    }

    75% {
        transform: translateX(12px);
    }
}

.sos-button i {
    font-size: 2rem;
    animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

.danger-warning {
    background: rgba(220, 38, 38, 0.2);
    border: 2px solid #dc2626;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.danger-warning i {
    color: #dc2626;
    font-size: 1.5rem;
    margin-top: 0.125rem;
}

.danger-warning p {
    color: #fecaca;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

.emergency-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.emergency-info h3 {
    color: #fbbf24;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.emergency-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emergency-info li {
    color: #d1d5db;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.emergency-info li:last-child {
    border-bottom: none;
}

.emergency-info li::before {
    content: "•";
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: bold;
}

.status-text.calling {
    color: #fbbf24;
    animation: blink 0.8s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .sos-container {
        padding: 2rem 1.5rem;
    }

    .sos-header h1 {
        font-size: 1.5rem;
    }

    .sos-button {
        font-size: 1.25rem;
        padding: 1.5rem;
    }

    .sos-icon {
        font-size: 4rem;
    }
}