/* 
    Click to Call Widget Styles
    --------------------------
    This stylesheet provides the visual styling for the Click to Call widget.
    It includes responsive design, language-specific elements, and interactive components.
*/

/* Style adapted to the qc.croixbleue.ca site / Style adapté au site qc.croixbleue.ca */
/* English: Styles for the widget / Français : Styles pour le widget */

/* Base styles for the entire page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Main container for content centering and layout */
.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto;
    padding-top: 40px;
}

/* Header section containing logo */
.header {
    margin-bottom: 40px;
}

/* Container for logo positioning */
.logo-container {
    position: relative;
    display: inline-block;
}

/* Logo styling */
.logo {
    max-width: 200px;
    height: auto;
}

/* Button Container for call controls */
.button-container {
    margin-top: 20px;
}

/* Button group for call and hangup buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 400px;
}

/* Call Button styling */
.call-button {
    background-color: #f8f9fa;
    color: #077AC0;
    border: 2px solid #077AC0;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Phone icon in call button */
.call-button i {
    font-size: 18px;
}

/* Hover effect for call button */
.call-button:hover {
    background-color: #077AC0;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(7, 122, 192, 0.2);
}

/* Hangup Button styling */
#hangup {
    background-color: #f8f9fa;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Phone-slash icon in hangup button */
#hangup i {
    font-size: 18px;
}

/* Hover effect for hangup button */
#hangup:hover {
    background-color: #dc3545;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

/* Remote Audio element styling */
#remoteAudio {
    display: block;
    margin: 20px auto;
}

/* Widget Container styling */
#widget-container {
    max-width: 400px;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 12px;
}

/* Widget Header styling */
#widget-header {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #077AC0;
    border-bottom: 2px solid #077AC0;
    padding-bottom: 10px;
}

/* Status Message styling */
#status {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #077AC0;
} 