/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
html, body {
  height: 100%;
  margin: 0;
}
/* Background */
body {
    display: flex;
    height: 100vh;
    
    /*background: url('background.jpg') no-repeat center center/cover;*/
}

/* Login Container */
.login-container {
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Login Box */
.login-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 320px;
}

/* Inputs */
input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button */
button {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    height: max-content;
    min-height: -webkit-fill-available;
    margin-top: 10px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #333;
    color: white;
    padding: 20px;
}

.sidebar h2 {
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: center;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar ul li:hover {
    background: #007BFF;
}

/* Main Content */
.content {
    flex: 1;
    padding: 20px;
}

/* Job Form */
.job-form {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.job-form input, .job-form textarea, .job-form select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.job-form button {
    background: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.job-form button:hover {
    background: #0056b3;
}

/* Job Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background: #007BFF;
    color: white;
}

.edit-btn, .delete-btn {
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

.edit-btn { background: green; color: white; }
.delete-btn { background: red; color: white; }

/* User Form */
.user-form {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.user-form input, .user-form select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.user-form button {
    background: #28a745;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.user-form button:hover {
    background: #218838;
}

/* User Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background: #007BFF;
    color: white;
}

.edit-btn, .delete-btn {
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

.edit-btn { background: green; color: white; }
.delete-btn { background: red; color: white; }

/* Application Management */
.approve-btn {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

.reject-btn {
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

.delete-btn {
    background: #ff0000;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background: #007BFF;
    color: white;
}

/* Message Box Styles */
.message {
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* Success Message */
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error Message */
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Center the login form */
.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Form input styles */
.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button style */
.login-container button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Error message */
.error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.company-form input, .company-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.company-form button {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.company-form button:hover {
    background: #218838;
}

.skills-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-checkboxes label {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.skills-checkboxes input {
    margin-right: 5px;
}

.skills-checkboxes label:hover {
    background: #e9ecef;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-form input,
.filter-form select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.skills-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* General Styling */
.user_details {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    height: 100vh;
}

/* Container */
.container {
    max-width: 700px;
    width: 100%;
}

/* User Card */
.user-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Profile Image */
.profile-section img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #007BFF;
    margin-bottom: 10px;
}

/* User Info */
.user-info p {
    font-size: 18px;
    margin: 10px 0;
}

/* ID Image Section */
.id-images {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.id-section {
    text-align: center;
}

.id-section img {
    width: 150px;
    border-radius: 5px;
    transition: transform 0.2s;
}

.id-section img:hover {
    transform: scale(1.1);
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.data-table th {
    background-color: #007BFF;
    color: white;
}

/* Back Button */
.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.back-btn:hover {
    background: #0056b3;
}
