/* 
    Document   : style
    Created on : Aug 26, 2025, 6:49:09 PM
    Author     : Sir
    Description:
        Purpose of the stylesheet follows.
*/

/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* Page Title */
h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #444;
}

/* Success/Error Message */
p {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

p.success {
    color: green;
}
p.error {
    color: red;
}

/* Form Container */
form {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Labels */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    color: #555;
}

/* Inputs & Textarea */
input[type="text"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
textarea:focus,
input[type="file"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Checkbox */
input[type="checkbox"] {
    margin-right: 8px;
}

/* Submit Button */
button {
    background: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: 100%;
    transition: background 0.3s;
}

button:hover {
    background: #0056b3;
}
/* ===== Forgot & Reset Password Pages ===== */

/* Center the form on smaller pages like forgot/reset password */
.password-form {
    max-width: 400px;
    margin: 60px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Email input */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-size: 15px;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit button (same look as your <button>) */
input[type="submit"] {
    background: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    width: 100%;
    transition: background 0.3s;
}

input[type="submit"]:hover {
    background: #0056b3;
}
/* ===== Password Reset Box Styling ===== */
.password-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
}

/* Title */
.password-container h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Input field */
.password-container input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.3s;
}

.password-container input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit Button */
.password-container input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #1d9bf0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.password-container input[type="submit"]:hover {
    background: #0d6efd;
}

/* Back Link */
.password-container .back-link {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}
.password-container .back-link:hover {
    text-decoration: underline;
}

/* Success / Error Messages */
.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.nav-links {
    margin: 20px 0;
    text-align: center;
}
.nav-links a {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.nav-links a.admin {
    background: #007bff;
    color: white;
}
.nav-links a.admin:hover {
    background: #0056b3;
}
.nav-links a.portal {
    background: #28a745;
    color: white;
}
.nav-links a.portal:hover {
    background: #1e7e34;
}


