* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* Header */
.header {
    background-color: #fafafa;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 30px;
    margin-right: 10px;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
}

/* Main Content */
.container {
    display: flex;
    flex: 1;
    margin-top: 50px;
}

.content {
    flex: 1;
    padding: 20px;
    margin-left: 80px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    height: 100%;
}

.grid-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    margin-top: 12px;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.title h1 {
    font-size: 20px;
    font-weight: bold;
    color: #8b1f54;
    margin: 0;
}

.back-icon {
    position: absolute;
    left: 20px;
    font-size: 23px;
    color: #8b1f54;
    cursor: pointer;
}

/* Form styling */
.form-group {
    flex: 1;
    /* Allows form groups to grow equally */
    min-width: 0;
    /* Prevents form groups from shrinking too small */
    margin: 50px 40px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #404040;
    font-size: 14px;
}

.form-group .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    resize: vertical;
    overflow: hidden;
    font-size: 14px;
}

.form-row {
    display: flex;
}

.form-row .form-group {
    margin: 20px 40px;
}

.box-container {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: auto;
    padding: 10px;
    margin: 50px 40px;
    box-sizing: border-box;
}

.box-container .form-group {
    width: calc(100% - 20px);
    /* Adjust the width (e.g., 20px smaller) */
    margin: 15px auto;
    /* Center the form-group inside the box-container */
}

.textarea-container {
    position: relative;
}

.send-btn-container {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #f8f8f8;
    border-radius: 4px;
    margin: 5px;
}

.send-btn {
    background-color: #8a194f;
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #99004d;
}

.prompt-output {
    font-weight: 500;
    font-size: 14px;
    color: #666666;
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 100px;
    /* Adjust as needed */
    background-color: #f9f9f9;
    overflow: auto;
}

.submit-btn {
    background-color: #8a194f;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: 50px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    max-width: 150px;
    /* Maximum width for larger screens */
    min-width: 100px;
    /* Minimum width to prevent text chopping */
    box-sizing: border-box;
    /* Ensures padding is included in the width */
}

.submit-btn:hover {
    background-color: #99004d;
}

.info-icon {
    position: relative;
    display: inline-block;
    width: 11px;
    height: 11px;
    border: 1px solid #666666;
    border-radius: 50%;
    color: #666666;
    text-align: center;
    line-height: 10px;
    font-size: 9px;
    margin-left: 5px;
    cursor: help;
}

.info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 130%;
    width: max-content;
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
}

.info-icon:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120%;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
    z-index: 1;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed-header .logo-container {
    display: flex;
    align-items: center;
}

.fixed-header .logo {
    max-height: 40px;
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    color: #333;
}

.user-info {
    display: flex;
    align-items: center;
}

.profile-image2 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.user-name {
    display: inline-block;
    vertical-align: middle;
}

.landing-header {
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 40px;
}

.landing-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.welcome-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* width: 60%;
  max-width: none;
  height: 50vh;  */
    max-width: 752px;
    width: 100%;
    max-height: 384px;
    height: 100%;
}

.welcome-left,
.welcome-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px;
    box-sizing: border-box;
}

.welcome-left {
    background-color: #8b1f54;
    color: #ffffff;
}

.user-icon {
    background-color: #ffffff;
    color: #8b1f54;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.welcome-left h2 {
    /* font-size: 2vw; */
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.welcome-content {
    text-align: center;
    max-width: 300px;
}

.welcome-right h3 {
    /* font-size: 2vw; */
    font-size: 24px;
    color: #666666;
    margin: 0 0 10px 0;
}

.welcome-right p {
    /* font-size: 1vw; */
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
    text-align: justify;
}

.microsoft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #8b1f54;
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    height: 22px;
    width: 169px;
    overflow: hidden;
    padding: 0;
}

.microsoft-btn:hover {
    background-color: #a02562;
}

.microsoft-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 0.5px solid black;
    border-radius: 4px;
    height: 100%;
    width: 25px;
    padding: 2px;
    box-sizing: border-box;
}

.microsoft-logo {
    width: 16px;
    height: 16px;
}

.microsoft-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: none;
}

@media (max-width: 768px) {
    .welcome-card {
        flex-direction: column;
        max-height: none;
        height: auto;
    }

    .welcome-left,
    .welcome-right {
        width: 100%;
    }
}

/* User Management Form Styles */
.user-management-form .form-group {
    margin-bottom: 20px;
}

.user-management-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    font-size: 14px;
}

.user-management-form .submit-btn {
    margin-top: 30px;
}

/* Adjust the layout for smaller screens */
@media (max-width: 768px) {
    .user-management-form .form-group {
        margin-bottom: 15px;
    }

    .user-management-form .submit-btn {
        margin-top: 20px;
    }
}

/* Speaker profile form */
.form-row {
    display: flex;
}

.form-group-speaker {
    flex: 1;
    position: relative;
    box-sizing: border-box;
    margin: 50px 40px;
}

label {
    font-weight: 500;
    font-size: 14px;
    color: #404040;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    color: #666666;
    box-sizing: border-box;
    margin-bottom: 15px;
}

input[type="text"] {
    height: 39px;
}

.form-group-speaker textarea {
    height: 170px;
    resize: vertical;
    overflow: hidden;
}

.resume-bio-container {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding-top: 25px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

.file-upload {
    margin-bottom: 15px;
    text-align: center;
}

.file-upload p {
    color: #666666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.file-upload p i {
    margin-right: 5px;
    color: #8b1f54;
}

.generate-btn {
    background-color: #8b1f54;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    font-family: "Montserrat", Arial, sans-serif;
}

.generate-btn:hover {
    background-color: #6e183f;
}

.drag-drop-area {
    /* border: 1px solid #cfcfcf; */
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    color: #8b1f54;
    font-weight: bold;
    width: 40%;
    /* margin: 20px auto; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.drag-drop-area i {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Track page form */
.form-group-track {
    flex: 1;
    position: relative;
    box-sizing: border-box;
    margin: 50px 40px;
}

.form-group-track label {
    font-weight: 500;
    font-size: 14px;
    color: #404040;
    display: block;
    margin-bottom: 5px;
}

.form-group-track input[type="text"],
.form-group-track input[type="date"],
.form-group-track input[type="time"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    color: #666666;
    box-sizing: border-box;
    height: 39px;
}

.form-group.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropzone {
    width: 100%;
    max-width: 700px;
    height: 200px;
    border: 2px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    cursor: pointer;
}

.dropzone i {
    font-size: 48px;
    color: #8b003d;
}

.dropzone p {
    font-size: 14px;
    color: #8b003d;
    margin-top: 10px;
}

.form-row .form-group-track {
    margin: 15px 38px;
}

.form-group-track {
    margin: 20px 10px;
}

.form-group-track input[type="text"],
.form-group-track input[type="date"],
.form-group-track input[type="time"] {
    padding: 6px;
}

/* Action Button */
.action-container {
    gap: 5px;
}

.btn-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px; 
    height: 40px; 
    background-color: #7e1550; 
    border-radius: 10px; 
    transition: border 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    text-decoration: none;
}

.btn-action i {
    font-size: 15px;
    color: #fff; /* White icon color */
}

.btn-action:hover {
    background-color: #a02562; /* Darker hover background */
    transform: translateY(-2px);
    cursor: pointer;
}