* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #a0d3e8, #f0f7ff);
    margin: 0;
    padding: 0;
}

header {
    background-color: #003366;
    position: relative;
    padding: 10px 20px;
}

h1 {
    margin: 0;
    color: white;
}

.logout-button {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    border: 1px solid currentColor;
    border-radius: 4px;
}

.logout-button:hover {
    background-color: white;
    color: #003366;
}


.navigation {
    background-color: #003366;
    padding: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

.navigation a {
    color: white;
    text-decoration: none;
    padding: 20px;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s;
    font-size: 14px;
}

.navigation a:hover,
.navigation a.active {
    background-color: #005580;
}


.notification {
    background-color: red;
    border-radius: 50%;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
}

main {
    text-align: center;
    padding: 50px;
}

.emergency-section {
    margin-bottom: 30px;
}

.sos-button {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sos-button:hover {
    background-color: darkred;
}

.sos-button.animated-sos {
    animation: sos-pulse 0.8s cubic-bezier(0.66, 0, 0, 1) infinite;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
    transition: box-shadow 0.3s;
}

@keyframes sos-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
    }
    50% {
        box-shadow: 0 0 0 60px rgba(255, 0, 0, 0.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.address-section {
    background-color: #e2f0f5;
    padding: 20px;
    border-radius: 10px;
}
