/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('https://employee.stratastaffglobal.com/wp-content/uploads/2025/05/Stratahub-Header.png'); /* 🔁 Replace with your image URL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Modern Header Styles */
header {
    background: #094BC1;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.nav-bar h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: flex-end;
}

.nav-bar h1:hover {
    color: #d1e0ff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

nav ul li a:hover {
    background: #324B4A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-logo {
    width: 180px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    filter: brightness(0) invert(1); /* Makes the image white */
}

.container {
    background: white;
    padding: 30px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
    width: 350px;
    margin: auto 50px auto auto;
}

/* Mobile devices (up to 767px) */
@media (max-width: 767px) {
      .container {
        margin: auto;
    }
}

/* Tablets (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
        margin: auto;
    }

}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.container h2 {
    margin-bottom: 20px;
    color: #324B4A;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: #324B4A;
}

.form-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.container select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    background: #094BC1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #324B4A;
}

.message {
    margin-top: 15px;
    color: red;
}

footer {
    margin-top: auto;
    text-align: center;
    color: white;
    font-size: 14px;
    background: #324B4A;
    padding: 15px 0;
    position: relative;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

/* Admin Panel Styles */
.admin-container {
    max-width: 800px;
    width: 100%;
    margin: 100px auto;
    background: white;
    padding: 40px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.admin-container h2 {
    text-align: center;
    color: #094BC1;
    margin-bottom: 20px;
}

.admin-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-container table th, .admin-container table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.admin-container table th {
    background: #094BC1;
    color: white;
}

.admin-container table tr:nth-child(even) {
    background: #f9f9f9;
}

.admin-container form {
    margin-top: 20px;
}

.admin-container input, .admin-container select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.admin-container button {
    width: 100%;
    padding: 10px;
    background: #094BC1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.admin-container button:hover {
    background: #073B9A;
}

.admin-message {
    margin-top: 20px;
    color: red;
    text-align: center;
    font-weight: bold;
}


 .popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
            width: 400px;
            text-align: center;
        }
        .popup h2 {
            margin-bottom: 20px;
        }
        .popup input, .popup select {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 16px;
        }
        .popup button {
            width: 100%;
            padding: 10px;
            background: #094BC1;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
            margin-top: 10px;
        }
        .popup button:hover {
            background: #073B9A;
        }

        

        .admin-container-wrapper {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        max-width: 1200px;
        margin: 100px auto;
    }
    .admin-container {
        flex: 1;
        background: white;
        padding: 30px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        text-align: left;
    }
    .admin-container.left {
        max-width: 25%;
    }
    .admin-container.right {
        max-width: 75%;
    }
    table {
        width: 100%;
        border-collapse: collapse;
    }
    table th, table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }
    table th {
        background: #094BC1;
        color: white;
    }