/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #43055c;
    color: #333;
    min-height: 100vh; /* ensure body takes at least full viewport height */
    display: grid;
    place-items: center; /* shorthand for align-items: center; justify-items: center; */
}

.app {
    width: 100%;
    max-width: 600px; /* Limit width on larger screens */
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box; /* Respect padding within the app's width */
}

/* Navbar Styles */
.navbar {
    width: 100%;
    height: 50px; /* Adjust height as needed */
    /* Add styling for your navbar */
}

/* Content Styles */
.content {
    flex-grow: 1; /* Take up remaining vertical space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content from the top */
    width: 100%;
    max-width: 600px; /* Limit width on larger screens */
}

.distination-info {
    text-align: center;
    margin-bottom: 20px;
}

.distination-action {
    color: #FAA500;
    font-size: 1.5em;
    font-weight: 600;
}

.title-action {
    color: #FFFFFF;
    font-size: 0.9em;
    font-weight: bold;
}

/* Call Info Styles */
.call-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.timer p {
    font-size: 2em;
    font-weight: bold;
    color: #4F7BC1;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between action buttons */
}

.action {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

#speaker {
    background-image: url('images/Speaker.svg');
}

#hold {
    background-image: url('images/Hold.svg');
}

#mute {
    background-image: url('images/Mute.svg');
}

/* Call Principal Action Styles */
.call-principal-action {
    display: flex;
    justify-content: center;
}

.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-radius: 50%;
    position: relative;
}

.icon-principal-action {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 90%;
    height: 90%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
}

/* Start Call Button */
.start-call {
    background: #FAA500; /* Keep the original background color (orange/gold) */
    box-shadow: 0 0 0 15px rgba(255, 253, 238, 0.3);  /* Blanche shadow */
    animation: call 1.5s infinite alternate;
}

.start-call .icon-principal-action {
    background-image: url("images/call.svg");
}

/* During Call Button */
.during-call {
    background: #DB1B4D;
    box-shadow: 0 0 0 15px rgba(219, 27, 77, 0.1);
    animation: end-call 1s infinite alternate;
}

.during-call .icon-principal-action {
    background-image: url("images/Call off.svg");
}

/* Footer Styles */
.footer {
    width: 100%;
    height: 50px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-size: 0.8em;
}

/* Animations */
@keyframes end-call {
    from {
        box-shadow: 0 0 0 0px rgba(219, 27, 77, 0.08);
    }

    to {
        box-shadow: 0 0 0 15px rgba(219, 27, 77, 0.2);
    }
}

@keyframes call {
    from {
        box-shadow: 0 0 0 0px rgba(255, 253, 238, 0.08); /* Blanche shadow, less opaque */
    }

    to {
        box-shadow: 0 0 0 15px rgba(255, 253, 238, 0.2);  /* Blanche shadow, more opaque */
    }
}
.footer {
    width: 100%;
    height: auto; /* Adjust height as needed (auto will fit content) */
    padding: 20px; /* Add padding to give the text some space */
    display: flex;
    justify-content: center; /* Center text horizontally */
    align-items: center;      /* Center text vertically (if needed) */
    color: #FFFFFF;
    font-size: 1.2em; /* Increase font size */
    text-align: center; /* Ensure text is centered */
    box-sizing: border-box; /* Include padding in the width/height calculation */
}
/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 10px;
    }

    .distination-action {
        font-size: 1.2em;
    }

    .timer p {
        font-size: 1.5em;
    }

    .action {
        width: 40px;
        height: 40px;
        background-size: 50%;
    }

    .circle {
        padding: 30px;
    }

    .icon-principal-action {
        background-size: 70%;
    }
}