Files
MOHPortalTest-AllAgents-All…/qwen/php/public/css/styles.css
2025-10-24 16:29:40 -05:00

342 lines
5.7 KiB
CSS

/* public/css/styles.css */
:root {
--primary-color: #0072ce;
--secondary-color: #f5f5f5;
--text-color: #333;
--text-light: #fff;
--border-color: #ccc;
--focus-color: #0056b3;
--success-color: #28a745;
--danger-color: #dc3545;
--warning-color: #ffc107;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: #f8f9fa;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
header {
background-color: var(--primary-color);
color: var(--text-light);
padding: 1rem 0;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo h1 {
font-size: 1.8rem;
font-weight: bold;
}
nav ul {
list-style: none;
display: flex;
gap: 1rem;
}
nav a {
color: var(--text-light);
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: background-color 0.3s;
}
nav a:hover, nav a.active {
background-color: rgba(255,255,255,0.2);
}
.user-menu {
display: flex;
align-items: center;
gap: 1rem;
}
.btn {
display: inline-block;
padding: 0.5rem 1rem;
background-color: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 4px;
border: none;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.3s;
}
.btn:hover {
background-color: var(--focus-color);
}
.btn-outline {
background-color: transparent;
border: 1px solid var(--primary-color);
color: var(--primary-color);
}
.btn-outline:hover {
background-color: var(--primary-color);
color: white;
}
.btn-success {
background-color: var(--success-color);
}
.btn-success:hover {
background-color: #218838;
}
.btn-danger {
background-color: var(--danger-color);
}
.btn-danger:hover {
background-color: #c82333;
}
main {
padding: 2rem 0;
}
.hero {
text-align: center;
padding: 3rem 0;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
margin-bottom: 2rem;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--primary-color);
}
.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
color: #666;
}
.search-form {
max-width: 600px;
margin: 0 auto 2rem;
background-color: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.form-group {
margin-bottom: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
input, select, textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 4px;
font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
outline: 2px solid var(--focus-color);
outline-offset: 2px;
}
.tabs {
display: flex;
border-bottom: 1px solid var(--border-color);
margin-bottom: 2rem;
}
.tab {
padding: 1rem 2rem;
cursor: pointer;
border-bottom: 3px solid transparent;
}
.tab.active {
border-bottom: 3px solid var(--primary-color);
font-weight: bold;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.job-card {
background-color: white;
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1.5rem;
margin-bottom: 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.job-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.job-card h3 {
color: var(--primary-color);
margin-bottom: 0.5rem;
}
.job-meta {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
color: #666;
font-size: 0.9rem;
}
.salary {
color: var(--success-color);
font-weight: bold;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
z-index: 1000;
align-items: center;
justify-content: center;
}
.modal-content {
background-color: white;
border-radius: 8px;
width: 90%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
}
.modal-header {
padding: 1rem;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-body {
padding: 1rem;
}
.modal-footer {
padding: 1rem;
border-top: 1px solid var(--border-color);
display: flex;
justify-content: flex-end;
gap: 1rem;
}
.close {
font-size: 1.5rem;
cursor: pointer;
background: none;
border: none;
}
.notification {
position: fixed;
top: 20px;
right: 20px;
padding: 1rem;
border-radius: 4px;
color: white;
z-index: 2000;
display: none;
}
.notification.success {
background-color: var(--success-color);
}
.notification.error {
background-color: var(--danger-color);
}
footer {
background-color: #333;
color: white;
padding: 2rem 0;
margin-top: 2rem;
}
.dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.dashboard-card {
background-color: white;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.dashboard-card h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 1rem;
}
nav ul {
flex-wrap: wrap;
justify-content: center;
}
.hero h2 {
font-size: 2rem;
}
}