body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.header {
    margin-top: 50px; /* Creates a gap of 60px from the top menu */
    height: 30px; /* Set the height of the header */
    background-color: #f8f9fa; /* Light background for visibility */
    width: 100%; /* Full-width */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    z-index: 999; /* Ensure it's above other elements */
    position: relative; /* Positioned relative to the page flow */
}

.profile-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.tab-link {
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-bottom: none;
    cursor: pointer;
    margin-right: 2px;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    flex: 1; /* Make tabs equal width for better responsiveness */
    text-align: center; /* Center tab text */
}

.tab-link.active {
    background-color: #f1f1f1;
    font-weight: bold;
    border-bottom: 2px solid #ffffff;
    color: #333;
}

.tab-link:hover {
    background-color: #ddd;
}

.tab-content {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 0 5px 5px 5px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin: 10px 0 5px;
}

input, select, button {
    width: 50%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background: #007bff;
    color: #fff;
    cursor: pointer;
    border: none;
}

button:hover {
    background: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background: #007bff;
    color: #fff;
}

/* Top Menu Bar */
.top-menu-bar {
    position: fixed;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap; /* Ensure menu adjusts on smaller screens */
}

.menu-left .logo {
    font-size: 18px;
    font-weight: bold;
    color: #0073b1;
    margin: 0;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.menu-item {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.menu-item.notification-icon {
    font-size: 20px;
    cursor: pointer;
}

.profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #0073b1;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

.profile-icon:hover {
    background-color: #005580;
}

        /* Success and Error Message Styling */
        .notification {
            position: fixed;
            top: 90px;
            left: 50%;
            transform: translateX(-50%);
            padding: 15px 30px;
            border-radius: 5px;
            font-size: 16px;
            z-index: 1000;
            text-align: center;
            display: none;
        }
        .notification.success {
            background-color: #4CAF50;
            color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        }
        .notification.error {
            background-color: #FF5252;
            color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        }
        
/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    .tabs {
        flex-direction: column; /* Stack tabs vertically */
    }

    .tab-link {
        font-size: 14px;
        padding: 10px;
        text-align: center;
    }

    .menu-container {
        flex-direction: column; /* Stack menu items vertically */
        align-items: flex-start;
    }

    .menu-item {
        font-size: 12px;
    }

    .profile-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    button {
        font-size: 14px;
        padding: 8px;
    }

    table th, table td {
        font-size: 14px;
        padding: 8px;
    }

    .menu-container {
        padding: 10px;
    }

    .menu-item {
        font-size: 12px;
    }

    .profile-icon {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}