body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #ff4930;
    /* 30% red */
    color: #ffffff;
    /* White text */
    padding: 10px;
    /* to make sticky at the top */
    top: 0px;
    align-content: flex-start;
    max-height: 5%;
    position: sticky;
    z-index: 1;
    width: 97%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

/* Add a "disabled" class to the nav items */
.nav-items.disabled {
    pointer-events: none; /* This disables all pointer events (clicks, hovers, etc.) */
    opacity: 0.5; /* Make the items visually look disabled */
}

.flex-headercontainer {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
}

.flex-icon-container {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    justify-content: space-between;
}

/* Style for the Alertify Logo */
.AlertifyLogo {
    max-width: 25%;
    min-width: 175px;
    height: auto;
}

/* Page DISPLAY MESSAGE e.g. Send, History, Support */
.HeadMSG {
    font-size: max(2.8vw, 21px);
    padding-right: 5%;
}

.flex-nav-container {
    display: block;
    flex-basis: 100%;
    padding-top: 5px;
    flex-wrap: wrap;
}

/* Style for the navigation items */
.nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-size: max(2vw, 20px);
}

/* Hover effect for the navigation items*/
.nav-items li a:hover {
    box-shadow: 0 0 10px yellow;
    font-weight: bold;
}

form {
    max-width: 500px;
    margin: 0 auto;
}

.contactForm-container {
    padding-bottom: 10%;
    padding-left: 2%;
    padding-right: 2%;
}

.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

label {
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ff4930;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 5px;
}

.form-group textarea {
    height: 100px;
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

button[type="submit"] {
    background-color: #fb3b04;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    box-shadow: 0 0 10px yellow;
    font-weight: bold;
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

#confirmationMessage {
    margin-top: 20px;
    color: rgb(243, 42, 11);
    font-size: max(3vw, 18px);
    font-weight: bold;
}

/*  top part of the home webpage  */
.top-container {
    display: flex;
    flex-direction: row;
    justify-content: t;
    align-items: center;
    flex-wrap: wrap;
}

.flex-content-logo {
    display: flex;
    align-items: center; /* Aligns logo and text vertically centered */
    justify-content: start; /* Aligns items to the start (left by default) */
    flex-wrap: wrap; /* Allows content to wrap to the next line on smaller screens */
}

.SchoolLogo {
    max-width: 100px; /* Adjusts the maximum width of the logo */
    height: auto; /* Maintains aspect ratio */
    margin-right: 15px; /* Space between the logo and the text */
}

/*  History - main container  */
.flex-content {
    flex: 1;
    padding: 15px;
    font-size: max(2vw, 12px);
}

/* Drop down - who are we send a notification to? */
.drop-down-container {
    flex-wrap: wrap;
    width: 100%;
    padding: 1px;
    border: 1px solid #f3e91d;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 2px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: rgb(243, 42, 11);
}

/* drop down label*/
label {
    margin-bottom: 10px;
}

/* drop down options font*/
select {
    font-size: 30px;
    border-color: #f3e91d;
    text-align: center;
    width: 200px;
}

/* drop down options */
option {
    text-align: center;
    /* each option within the dropdown is centered. */
}

.block {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#none {
    display: block;
}

/*  The TEXT BOX  */
.text-box-container {
    display: none; /* initiall hidden */
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Enter your notification: */
#notificationLabel {
    font-size: 22px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 20px;
    resize: none;
}

#charCount {
    margin-top: 10px;
    font-size: 22px;
    color: #666;
}

/* The VALIDATE and SEND buttons */
.button-container {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f8ef74;
    color: #e91818;
    transition: background-color 0.3s ease;
}

button:disabled {
    background-color: #f6f7d2;
    cursor: not-allowed;
}


/* Terms and Conditions */
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 5px; /* Optional: Adds space between the checkbox and the label */
    padding-bottom: 5%;
}

.form-group-checkbox input[type="checkbox"] {
    margin: 0; /* Remove default margins */
    vertical-align: middle; /* Align the checkbox vertically with the text */
}

.form-group-checkbox label {
    margin: 0; /* Remove default margins */
    display: flex;
    align-items: center;
    font-size: 16px; /* Adjust font size if needed */
}

.form-group-checkbox a {
    color: #4b0082; /* Adjust link color */
    text-decoration: none; /* Remove underline if desired */
}

.form-group-checkbox a:hover {
    text-decoration: underline; /* Add underline on hover if desired */
}

/* Allow content to expand while keeping the footer at the bottom */
.push-footer {
    flex-grow: 1;
}

/* Style for the footer */
footer {
    background-color: #f8ef74;
    padding-bottom: 5px;
    text-align: center;
    position: relative;
    width: 100%;
}

/* Style for the link */
footer a {
    color: #007bff;
    /* Blue color for the link */
    text-decoration: none;
}

footer a:hover {
    box-shadow: 0 0 10px yellow;
}

/* Style for the copyright message */
footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* CSS for pulsing effect on send button */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
}

.pulse-animation {
    animation: pulse 1s infinite;
}

/* Notifications History - display previously sent Notifications */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    height: 100%;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 10px;
    text-align: left;
    vertical-align: middle; /* Align the icon vertically */
}
.icon {
    cursor: pointer;
    font-size: 1.2em;
    max-height: 100%;
}
.icon-green {
    color: green;
}
.icon-red {
    color: red;
}

/* for the Notifications history table icons */
    .icon-cell {
        display: flex;
        justify-content: center; /* Horizontally center */
        align-items: center;     /* Vertically center */
        padding: 0;              /* Remove padding */
        margin: 0;               /* Remove margin */
        height: 100%;            
        width: 100%;             
        border: 1px dotted rgb(80, 78, 78);
    }

    .icon-cell i {
        font-size: clamp(25px, 2.5vw, 40px); /* Minimum: 16px, Preferred: 2.5vw, Maximum: 40px */
        display: flex;
        justify-content: center; /* Horizontally center */
        align-items: center;     /* Vertically center */
    }

.green-icon {
    color: green;
}
.red-icon {
    color: red;
    cursor: pointer; /* Changes the cursor to a hand when hovering */
}

/* Hidden state */
.hidden {
    display: none;
}

#FullNameDisplay {
    position: absolute;
    right: clamp(10px, 5%, 50px); /* Min: 10px, Ideal: 5%, Max: 50px */
    color: rgba(0, 0, 0, 0.6); /* 60% opacity black */
    text-align: right;
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Ensures long words break */
    max-width: 40%; /* Adjust based on layout */
    font-size: 1.2em;
    font-weight: normal;
    padding-top: 15px;
}

.AppVersionText {
    color: #c1b0b0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 10px;
    position: absolute;
    right: 10px;
    bottom: 0px; 
}
