/* General Styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 80%;
    margin: auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}



/* Headings */
h1 {
    color: #0A1F50;
    margin-bottom: 20px;
}

/* Search Bar */
.search-bar {
    margin: 20px 0;
}

.search-bar input {
    padding: 10px;
    width: 60%;
    border: 2px solid #0A1F50;
    border-radius: 5px;
}

.search-bar button {
    padding: 10px 15px;
    background-color: #0A1F50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #142755;
}

/* Running Text */
.running-text-container {
    width: 100%;
    overflow: hidden;
    background-color: #0A1F50;
    border-radius: 10px;
    padding: 10px 0;
}

.running-text {
    display: flex;
    white-space: nowrap;
}

.running-text span {
    display: inline-block;
    color: white;
    font-weight: bold;
    font-size: 16px;
    animation: marquee 16s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* Icon Container */
.icon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Icon Boxes */
.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    padding: 15px;
    border-radius: 10px;
    background-color: #e6f2ff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.icon-box:hover {
    transform: scale(1.1);
}

.icon-box i {
    font-size: 40px;
    color: #0A1F50;
    margin-bottom: 5px;
}

.icon-box span {
    font-weight: bold;
}
/* Dashboard Icons */
.icon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    padding: 15px;
    text-decoration: none;
    border-radius: 10px;
    background-color: #e6f2ff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.icon-box:hover {
    transform: scale(1.1);
    background-color: #d0e6ff;
}

.icon-box i {
    font-size: 40px;
    color: #0A1F50;
    margin-bottom: 5px;
}

.icon-box span {
    font-weight: bold;
    color: #333;
}

/* Logout Button */
.logout-button {
    background-color: #ffebeb;
}

.logout-button:hover {
    background-color: #ffb3b3;
}/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0A1F50;
    padding: 10px 20px;
    color: white;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

/* Profile Button */
.profile-menu {
    position: relative;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    color: #0A1F50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 100;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    color: black;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: #f2f2f2;
}

.logout-link {
    color: red;
}

.show {
    display: block;
}


/* Logout Button */
.logout-btn {
    background-color: #ff4444;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #cc0000;
}
