/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}

/* --- Navigation & Header --- */
.navbar {
    background-color: #2c3e50;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.navbar ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.navbar ul li a:hover {
    background-color: #34495e;
}

/* --- Layout & Utility --- */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}
.message-box {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}
.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}
.danger-box { /* Added for consistent error styling */
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}


/* --- Buttons --- */
.btn {
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
}
.primary-btn {
    background-color: #3498db;
    color: #fff;
}
.primary-btn:hover {
    background-color: #2980b9;
}
.secondary-btn {
    background-color: #ecf0f1;
    color: #333;
}
.secondary-btn:hover {
    background-color: #bdc3c7;
}
.danger-btn {
    background-color: #e74c3c;
    color: #fff;
}
.success-btn {
    background-color: #2ecc71;
    color: #fff;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50); /* Blue gradient */
    color: #fff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}
.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* --- Job List --- */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.job-item {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 5px solid #3498db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.job-item .establishment {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* --- Forms (Login/Application/Contact) --- */
.login-box, .application-form-box, .contact-info-box { /* UPDATED */
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
}
label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"], input[type="password"], input[type="email"], input[type="file"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type="file"] {
    border: none;
    padding: 0;
}
.login-box button, .application-form-box button {
    width: 100%;
    margin-top: 20px;
}
.small-text {
    font-size: 0.8em;
    color: #7f8c8d;
    text-align: center;
    margin-top: 15px;
}
.description-text {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* NEW: Contact Info Box Styling */
.contact-info-box h3 {
    color: #3498db;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 15px;
}
.contact-detail {
    margin-bottom: 15px;
}
.contact-detail p:last-child {
    margin-top: 5px;
    font-size: 1.1em;
}

/* =====================================================
   Forgot Password Page
   ===================================================== */
.auth-wrapper .small-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 0.88em;
    color: #7f8c8d;
}
.auth-wrapper .small-link a,
.auth-wrapper .small-text a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}
.auth-wrapper .small-link a:hover,
.auth-wrapper .small-text a:hover {
    text-decoration: underline;
}
