* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
}

/* Header Styles */
header {
    width: 100%;
    text-align: center;
}

header img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* Main Content */
.main-content {
    padding: 30px;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
    width: 80%;
    margin-inline: auto;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subscribe-link {
    display: inline-block;
    background-color: #2D8E9A;
    color: white;
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(32, 178, 170, 0.3);
    transition: all 0.3s ease;
    align-self: flex-start;
    min-width: 180px;
}

.subscribe-link:hover {
    background-color: #1a9b95;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(32, 178, 170, 0.4);
}

.subscribe-text {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.now-text {
    display: block;
    font-size: 22px;
    margin-top: 2px;
}

.intro-heading {
    color: #20b2aa;
    font-size: 34px;
    font-weight: 700;
    margin: 0;
}

.right-section {
    flex: 0 0 300px;
}

.alert-illustration {
    width: 100%;
    height: auto;
    border: 2px solid white;
    border-radius: 8px;
}

/* Description Section */
.description {
    margin-top: 40px;
}

.description p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.description strong {
    font-weight: 700;
    color: #000;
}

/* Registration Form Styles */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    color: #2D8E9A;
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0;
    text-align: left;
}

.registration-form {
    background-color: white;
}

.form-section-title {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 30px 0 20px 0;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #2D8E9A;
}

.form-instructions {
    margin-top: 8px;
}

.instruction-text {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
}

.copy-instruction {
    font-size: 14px;
    color: #0066cc;
    margin: 5px 0;
    font-weight: 500;
}

.terms-section {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.terms-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2D8E9A;
    cursor: pointer;
}

.submit-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.accept-button {
    background-color: #2D8E9A;
    color: white;
    border: none;
    padding: 20px 60px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accept-button:hover {
    background-color: #246d78;
    transform: translateY(-2px);
}

/* Login Portal Styles */
.login-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-title {
    color: #2D8E9A;
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 30px 0;
    text-align: center;
}

.login-form {
    width: 100%;
    max-width: 500px;
    background-color: white;
}

.login-form .form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-form .form-group label {
    font-weight: 700;
    color: #000;
    font-size: 16px;
    margin-bottom: 5px;
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="password"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    width: 100%;
}

.login-form .form-group input[type="text"]:focus,
.login-form .form-group input[type="password"]:focus {
    outline: none;
    border-color: #2D8E9A;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.login-button {
    background-color: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    min-width: 120px;
}

.login-button:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.forgot-password-button {
    background-color: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    min-width: 160px;
}

.forgot-password-button:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.instruction-text {
    margin-bottom: 30px;
}

.instruction-text p {
    font-size: 14px;
    color: #20b2aa;
    line-height: 1.5;
    font-weight: 600;
    text-align: left;
}

.separator-line {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

/* Manage Broadcast Styles */
.broadcast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    margin: 30px 0 20px 0;
}

.page-header .page-title {
    color: #2D8E9A;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: left;
}

.location-text {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.exit-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.exit-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.broadcast-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 2;
    min-width: 180px;
}

.broadcast-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.manage-button {
    background-color: #2D8E9A;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 2;
    min-width: 200px;
}

.manage-button:hover {
    background-color: #246d78;
    transform: translateY(-2px);
}

.map-container {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* User Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.user-info {
    margin: 20px 0;
}

.user-name {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: left;
}

.dashboard-buttons {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    justify-content: center;
}

.button-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    max-width: 250px;
}

.dashboard-button {
    background-color: #2D8E9A;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.dashboard-button:hover {
    background-color: #246d78;
    transform: translateY(-2px);
}

.test-contacts-button {
    background-color: #0066cc;
}

.test-contacts-button:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

/* Weather Alert Dashboard Styles */
.weather-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.weather-info-section {
    margin-top: 30px;
}

.weather-title {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: left;
}

.warning-alert {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 20px;
    margin: 20px 0;
    color: #721c24;
}

.warning-alert strong {
    font-size: 18px;
    font-weight: 700;
    color: #721c24;
    line-height: 1.4;
}

.warning-details {
    margin: 20px 0;
}

.warning-details p {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.warning-description {
    margin-top: 20px;
}

.warning-description h3 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.warning-description p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Community Broadcast Styles */
.broadcast-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.return-link {
    text-align: right;
    margin-bottom: 20px;
}

.return-link-text {
    color: #0066cc;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
}

.return-link-text:hover {
    text-decoration: none;
}

.broadcast-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.left-section {
    flex: 2;
}

.broadcast-title {
    color: #dc3545;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: left;
}

.message-form {
    margin-bottom: 30px;
}

.message-label {
    color: #0066cc;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.message-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 120px;
    max-width: 100%;
    box-sizing: border-box;
}

.message-textarea:focus {
    outline: none;
    border-color: #2D8E9A;
}

.form-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.send-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-button:hover {
    background-color: #5a6268;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2D8E9A;
    cursor: pointer;
}

.instructions {
    margin-top: 20px;
}

.instructions p {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.right-section {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.recipient-info {
    text-align: right;
    min-width: 200px;
}

.recipient-info p {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recipient-info strong {
    font-weight: 700;
    color: #000;
}

.change-link {
    color: #0066cc;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.change-link:hover {
    text-decoration: none;
}

/* Community Broadcast Responsive Styles */
@media (max-width: 768px) {
    .broadcast-page-container {
        padding: 0 15px;
    }
    
    .broadcast-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .broadcast-title {
        font-size: 28px;
        text-align: center;
    }
    
    .right-section {
        justify-content: center;
    }
    
    .recipient-info {
        text-align: center;
        min-width: auto;
    }
    
    .form-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .send-button {
        align-self: center;
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .broadcast-page-container {
        padding: 0 10px;
    }
    
    .broadcast-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .broadcast-title {
        font-size: 24px;
        text-align: center;
    }
    
    .right-section {
        justify-content: center;
    }
    
    .recipient-info {
        text-align: center;
        min-width: auto;
    }
    
    .form-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .send-button {
        align-self: center;
        width: 100%;
        max-width: 180px;
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .message-textarea {
        padding: 12px;
        font-size: 15px;
    }
    
    .instructions p {
        font-size: 13px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border: none;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-section {
        order: 2;
        align-items: center;
    }
    
    .right-section {
        order: 1;
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .subscribe-link {
        align-self: center;
        width: 100%;
        max-width: 300px;
    }
    
    .intro-heading {
        text-align: center;
        font-size: 18px;
    }
    
    .description p {
        font-size: 15px;
    }
    
    /* Registration form responsive */
    .registration-container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 28px;
        text-align: center;
        margin: 20px 0;
    }
    
    .form-section-title {
        font-size: 16px;
        text-align: center;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        max-width: 100%;
    }
    
    .terms-section {
        text-align: center;
    }
    
    .checkbox-group {
        justify-content: center;
    }
    
    .accept-button {
        width: 100%;
        max-width: 300px;
        padding: 18px 40px;
        font-size: 18px;
    }
    
    /* Login portal responsive */
    .login-container {
        padding: 0 15px;
    }
    
    .login-title {
        font-size: 24px;
        margin: 30px 0 20px 0;
    }
    
    .login-form {
        max-width: 100%;
    }
    
    .login-button,
    .forgot-password-button {
        align-self: center;
        width: 100%;
        max-width: 200px;
    }
    
    .instruction-text p {
        font-size: 13px;
        text-align: center;
    }
    
    /* Weather alert responsive */
    .weather-container {
        padding: 0 15px;
    }
    
    .weather-title {
        font-size: 22px;
        text-align: center;
    }
    
    .warning-alert {
        padding: 18px;
    }
    
    .warning-alert strong {
        font-size: 17px;
    }
    
    .warning-details p {
        font-size: 15px;
    }
    
    .warning-description h3 {
        font-size: 17px;
    }
    
    .warning-description p {
        font-size: 15px;
    }
    
    /* Manage broadcast responsive */
    .broadcast-container {
        padding: 0 15px;
    }
    
    .page-header .page-title {
        font-size: 28px;
        text-align: center;
        margin: 0 0 10px 0;
    }
    
    .location-text {
        text-align: center;
        font-size: 16px;
        margin: 0 0 15px 0;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .exit-button,
    .broadcast-button,
    .manage-button {
        flex: none;
        width: 100%;
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    /* Dashboard responsive */
    .dashboard-container {
        padding: 0 15px;
    }
    
    .user-name {
        font-size: 16px;
        text-align: center;
        margin: 0;
    }
    
    .dashboard-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .button-column {
        max-width: 100%;
        width: 100%;
    }
    
    .dashboard-button {
        font-size: 15px;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }
    
    .subscribe-link {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .subscribe-text {
        font-size: 20px;
    }
    
    .now-text {
        font-size: 14px;
    }
    
    .intro-heading {
        font-size: 16px;
    }
    
    .description p {
        font-size: 14px;
    }
    
    /* Registration form mobile */
    .registration-container {
        padding: 0 10px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .form-section-title {
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .instruction-text,
    .copy-instruction {
        font-size: 13px;
    }
    
    .terms-link {
        font-size: 15px;
    }
    
    .checkbox-label {
        font-size: 15px;
    }
    
    .accept-button {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    /* Login portal mobile */
    .login-container {
        padding: 0 10px;
    }
    
    .login-title {
        font-size: 20px;
        margin: 20px 0 15px 0;
    }
    
    .login-form .form-group label {
        font-size: 15px;
    }
    
    .login-form .form-group input[type="text"],
    .login-form .form-group input[type="password"] {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .login-button,
    .forgot-password-button {
        padding: 10px 15px;
        font-size: 15px;
        min-width: auto;
    }
    
    .instruction-text p {
        font-size: 12px;
    }
    
    /* Manage broadcast mobile */
    .broadcast-container {
        padding: 0 10px;
    }
    
    .page-header .page-title {
        font-size: 24px;
        margin: 0 0 8px 0;
    }
    
    .location-text {
        font-size: 15px;
        margin: 0 0 12px 0;
    }
    
    .exit-button,
    .broadcast-button,
    .manage-button {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* Dashboard mobile */
    .dashboard-container {
        padding: 0 10px;
    }
    
    .user-name {
        font-size: 15px;
        margin: 0;
    }
    
    .dashboard-buttons {
        margin-top: 20px;
        gap: 15px;
    }
    
    .button-column {
        gap: 12px;
    }
    
    .dashboard-button {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    /* Weather alert mobile */
    .weather-container {
        padding: 0 10px;
    }
    
    .weather-title {
        font-size: 20px;
    }
    
    .warning-alert {
        padding: 15px;
    }
    
    .warning-alert strong {
        font-size: 16px;
    }
    
    .warning-details p {
        font-size: 15px;
    }
    
    .warning-description h3 {
        font-size: 16px;
    }
    
    .warning-description p {
        font-size: 15px;
    }
}
