﻿/* CSS styles for the master page */
body {
    background: linear-gradient(to right, Seashell, rgb(27 229 212 / 0.05)); /* Gradient background */
    font-family: Arial, sans-serif; /* Example font */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: stretch;
}

.header, .footer {
    background-color: rgba(255, 255, 255, 0.5); /*Light transparent background */
    color: #333; /* Dark text color */
    padding: 10px;
    text-align: end;
    width: 100%; /* Ensure it spans the full width of the page */
    z-index: 1000;
}

.header {
    position: fixed;
    text-align:center;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px; /* or use padding instead */
    background-color: lavender ;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* optional */
    
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    margin-top: auto;
    width: 100%;
    padding: 5px;
    text-align: center;
    background-color: lavender;
}

    .header .container, .footer .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

.logo img {
    width: 20px; /* Adjust size of the logo */
    height: 20px;
    text-align: start;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

    .menu ul li {
        margin-right: 20px; /* Adjust spacing between menu items */
        align-items : end;
        position :center;
    }

        .menu ul li a {
            color: rgb(244 68 43 / 0.86); /* White text color */
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 5px;
            transition: background-color 0.3s ease;
            font-weight: bolder;
            font-size : large;
        }

            .menu ul li a:hover {
                background-color: rgb(187 229 27 / 0.49); /* Darker background on hover */
            }

.content {
    padding: 30px 30px 30px 30px;
    flex: 1;
    scroll-behavior: auto;
    margin-top: 40px;
    margin-bottom: 20px;
}

.footer {
    margin-top: auto;
}

    .footer a {
        color: rgb(244 68 43 / 0.86); /* White text color */
        text-decoration: none;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: rgb(187 229 27 / 0.49); /* Lighter color on hover */
        }

    .footer content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

.master-layout {
    display: inline-grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    height: 100vh;
}

.sidebar {
    background-color: transparent;
    padding: 10px;
}


    .sidebar button {
        background-color: transparent;
        border: none;
        color: white;
        padding: 15px 20px;
        text-align: left;
        font-size: 18px;
        cursor: pointer;
        border-left: 5px solid transparent;
        transition: background-color 0.3s, border-left 0.3s;
        margin-right: 15px;
    }

.tablink {
    display: inline-flex;
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    text-align: end;
}

    .tablink.active {
        background-color: #007bff;
        color: white;
    }

.tabcontent {
    display: none;
    width: 80%;
    padding: 20px;
    background-color: #fff;
    border-left: 1px solid #ccc;
}

    .tabcontent.active {
        display: block;
    }

.sidebar button:hover {
    background-color: #34495e;
}

.sidebar button.active {
    background-color: #1abc9c;
    border-left: 5px solid #16a085;
    font-weight: bold;
}


.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.btn {
    padding: 8px 16px;
    background-color: #007bff;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-success {
    background-color: #28a745 !important; /* Green */
}

.btn-error {
    background-color: #dc3545 !important; /* Red */
}

