/* JobsAddaa Authentication Styles */

.jobsaddaa-auth-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 20px;
}

.jobsaddaa-auth-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.jobsaddaa-auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.jobsaddaa-form .form-group {
    margin-bottom: 20px;
}

.jobsaddaa-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.jobsaddaa-form input[type="text"],
.jobsaddaa-form input[type="email"],
.jobsaddaa-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.jobsaddaa-form input[type="text"]:focus,
.jobsaddaa-form input[type="email"]:focus,
.jobsaddaa-form input[type="password"]:focus {
    outline: none;
    border-color: #4CAF50;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.auth-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.otp-instruction {
    background-color: #e7f3ff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #004085;
    font-size: 14px;
    border-left: 4px solid #2196F3;
}

.form-instruction {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
    border-left: 4px solid #4CAF50;
}

/* Dashboard Styles */
.jobsaddaa-dashboard {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.dashboard-header {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-header h1 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 28px;
}

.dashboard-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.btn-logout {
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: #da190b;
}

.dashboard-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
}

.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.job-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    transition: box-shadow 0.3s;
    background: #fafafa;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.job-card p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.job-card .job-location {
    color: #4CAF50;
    font-weight: 600;
}

.job-card .job-salary {
    color: #2196F3;
    font-weight: 600;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jobsaddaa-auth-container {
        padding: 10px;
    }

    .jobsaddaa-auth-box {
        padding: 25px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-header h1 {
        font-size: 22px;
    }

    .btn-logout {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .jobs-container {
        grid-template-columns: 1fr;
    }
}
