Frontend/src/Pages/Landing/Main.css
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Body */
body {
    overflow: auto;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f6f9;
}

/* Main Container */
.main {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0;
    box-sizing: border-box;
}

/* Sidebar */
.sidebar {
    padding: 4% 3% 2%;
    width: 18%;
    background-color: #2c3e50;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
    
}

/* Sidebar button */
/* Sidebar button: Default state */
.action-btn {
    display: block;
    margin-bottom: 20%;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: white;
    background-color: #34495e; 
    padding: 15px;
    text-align: center;
    width: 90%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.action-btn:hover {
    background-color: #185f65ec; 
    transform: scale(1.05);
}


.action-btn.active {
    background-color: #1abc9cd4; 
}


.action-btn:active {
    background-color: #18ceaade; 
}


/* Content Area */
.content {
    flex-grow: 1;
    background-color: #ecf0f1;
    padding: 3% 5%;
    box-sizing: border-box;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.table-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 95%;
    
}

/* Signout Button */
.signout {
    position: absolute;
    top: 10px; /* Adjust as needed for vertical positioning */
    right: 20px; /* Adjust as needed for horizontal positioning */
    margin-top: 55px; /* Adjusts positioning relative to the rest of the layout */

}

.signout-container {
    position: absolute;        /* Position relative to viewport */
    top: 10px;                 /* Adjust as needed */
    right: 20px;               /* Adjust as needed */
    z-index: 1000;            /* Ensures it's on top of other elements */
    margin-top:20px;
}

.signout-btn {
    display: flex;             /* Enables Flexbox for horizontal alignment */
    align-items: center;       /* Vertically aligns icon and text */
    padding: 10px 15px;
    border: none;
    background-color: #bdb8b8;
    cursor: pointer;
    border-radius: 10px;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    gap: 8px;                  /* Adds space between icon and text */
    width: 150px;              /* Set a fixed width for the button */
    justify-content: center;   /* Centers content within the button */
}

.signout-btn img {
    width: 20px;               /* Sets the icon size */
    height: auto;              /* Maintains aspect ratio */
    display: inline-block;      /* Ensures the image stays inline */
}

.signout-text {
    display: inline-block;      /* Ensures text stays inline */
}

.signout-btn:hover {
    background-color: #ff3333; /* Darker red on hover */
    transform: scale(1.05);    /* Slight grow on hover */
}


/* Welcome Message */
.welcome h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Button Global */
button {
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table thead {
    background-color: #34495e;
    color: white;
}

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

table tbody tr:hover {
    background-color: #f9f9f9;
}

