@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
/* Import Google Fonts (Montserrat & Raleway) for a modern look 
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Raleway:wght@300;400;700&display=swap');
*/
/* Reset default spacing & box-sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Page background & text color */
html, body {
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f4f7f6; /* Light background */
    color: #333;
    height: 100%;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5em;
}

    h1:focus {
        outline: none;
    }

/* Hyperlinks & link-style buttons */
a, .btn-link {
    color: #1e0c6e; /* Deep purple accent color */
    transition: color 0.3s ease;
}

    a:hover, .btn-link:hover {
        color: #2d0736; /* Slightly darker hover */
    }

/* Primary button */
.btn-primary {
    color: #fff;
    background-color: #1e0c6e;
    border-color: #2d0736;
    border-radius: 5px;
    padding: 10px 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .btn-primary:hover {
        background-color: #2d0736;
        transform: translateY(-2px);
    }

/* Shared focus style for form elements */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(67, 14, 78, 0.5);
    outline: none;
}

.navbar-brand {
    color: #333;
    font: "Roboto", sans-serif;
    font-size: 1.8rem;
}

/* Content spacing */
.content {
    padding-top: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    transition: border-color 0.3s ease;
}

    .form-control:focus {
        border-color: #1e0c6e;
    }

/* Subtitle-level heading */
h2 {
    font-size: 1.8em;
    margin-bottom: 0.75em;
    font-family: 'Roboto', sans-serif;
}

/* Schedule or secondary blocks */
.schedule-section {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.grayed-out {
    color: #ccc;
}

/* Validation styles */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-size: 0.85em;
}

/* Default Blazor error UI (optional) */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    position: relative;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
        font-style: italic;
        position: absolute;
        left: 1rem;
        width: 1.8rem;
        height: 1.8rem;
        top: 1rem;
        background-size: 1.8rem;
        background-repeat: no-repeat;
    }

/* Admin panel layout */
.admin-panel-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.user-list, .user-details {
    flex: 1;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
}

.user-list {
    background-color: #f9f9f9;
}

.user-details {
    background-color: #fff;
}

/* Reps and conversation details */
.rep-details,
.conversation-details {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    padding: 10px;
    background-color: #f5f5f5;
}

/* Collapsible panel styling */
.collapsible-header {
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
    color: #333;
    transition: color 0.3s;
}

    .collapsible-header:hover {
        color: #1e0c6e;
    }

.collapsible-content {
    padding-left: 15px;
    margin-top: 5px;
}

/* Hero Section */
.hero-section {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    background: linear-gradient(to right, #e0f2ff, #ffffff);
}

.hero-content {
    max-width: 50%;
}

    .hero-content h1 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 20px;
        color: #1d1e1c;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin: 20px 0;
        color: #555;
    }

.cta-buttons a {
    display: inline-block;
    margin: 10px 10px 0 0;
    padding: 15px 25px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-google {
    background-color: #4285F4;
    color: #fff;
}

    .btn-google:hover {
        background-color: #357ae8;
    }

.btn-microsoft {
    background-color: #737373;
    color: #fff;
}

    .btn-microsoft:hover {
        background-color: #5a5a5a;
    }

.btn-email {
    background-color: #1d1e1c;
    color: #fff;
}

    .btn-email:hover {
        background-color: #333;
    }

/* Story Section */
.flex-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 10%;
    background-color: #f9f9f9;
}

/* Hero and Story Content */
.hero-content,
.story-content {
    max-width: 450%;
    padding: 20px;
}

    .hero-content h1,
    .story-content h2 {
        font-family: 'Roboto', sans-serif;
        font-size: 3.5rem;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .hero-content p,
    .story-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #555;
    }

/* Hero and Story Images */
.story-image {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.hero-image,
.story-img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

    /* Hover Effect (Desktop Only) */
    .story-img:hover,
    .hero-image:hover {
        transform: scale(1.1);
        transition: transform 0.15s ease-in-out;
    }

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .flex-section {
        flex-direction: column; /* Stack sections vertically */
        align-items: center;
        text-align: center; /* Center-align text */
    }

    .hero-content,
    .story-content,
    .story-image {
        max-width: 100%; /* Full width for all sections */
        padding: 10px;
        margin-bottom: 20px; /* Adds spacing below each section */
    }
    .hero-content {
        margin-bottom: 40px; /* Adds spacing below each section */
    }

    .hero-image,
    .story-img {
        max-width: 100%; /* Ensure images scale properly */
        transform: none; /* Disable hover scaling on mobile */
    }

    .hero-content h1,
    .story-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p,
    .story-content p {
        font-size: 1rem;
    }
}


/* Section styles */
.section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

    .section h2 {
        font-family: 'Roboto', sans-serif;
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .section p {
        max-width: 700px;
        margin: 0 auto 2rem auto;
        font-size: 1.1rem;
    }


/* Authorized user loading panel (example) */
.loading-panel {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    font-size: 1.2rem;
    color: #1e0c6e;
}

/* Overlay for reconnect or user creation loading */
.my-reconnect-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(244, 247, 246, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.selected-button {
    border: 2px solid #1e0c6e; /* Outline for selected button */
}
.highlight-cell {
    border: 3px solid #1e0c6e; /* Bold blue border for the selected cell */
    border-radius: 8px; /* Optional rounded corners */
    background-color: #f9f9f9; /* Light background for emphasis */
}

/* Button Styles */
.hobbyist-btn {
    background-color: #43a047;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
}

    .hobbyist-btn:hover {
        background-color: #388e3c;
        transform: translateY(-3px);
    }

.pro-btn {
    background-color: #2196f3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
}

    .pro-btn:hover {
        background-color: #1976d2;
        transform: translateY(-3px);
    }

.enterprise-btn {
    background-color: #ff9800;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
}

    .enterprise-btn:hover {
        background-color: #f57c00;
        transform: translateY(-3px);
    }

/* Table Styling */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222222;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    z-index: 1000;
}

/* Email Collection Section */
.email-collection-section {
    max-width: 600px;
    width: 100%;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.email-header {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333333;
}

.email-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 25px;
}
/* Input Group */
.input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

    /* Email Input */
    .input-group input.email-input {
        flex: 1;
        max-width: 400px;
        padding: 12px 15px;
        font-size: 1rem;
        border: 1px solid #cccccc;
        border-radius: 5px;
        outline: none;
        transition: border-color 0.3s ease;
        box-sizing: border-box;
    }

        .input-group input.email-input:focus {
            border-color: #007bff;
        }

    /* Submit Button */
    .input-group button.btn-submit {
        background-color: #007bff;
        color: #ffffff;
        border: none;
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .input-group button.btn-submit:hover {
            background-color: #0056b3;
            transform: scale(1.05); /* Subtle zoom on hover */
        }

        .input-group button.btn-submit:active {
            background-color: #003f7f;
            transform: scale(0.95); /* Pressed effect */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }


/* Validation Summary */
.validation-summary {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ff0000;
    text-align: left;
}
