/* ========================================================================
   0. GLOBAL RESET
======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ========================================================================
   1. NAVBAR
======================================================================== */
.navbar {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.svg-logo {
    height: 70px;
    width: auto;
}

.tagline {
    font-size: 0.9rem;
    color: black;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

#languageSwitcher {
    padding: 5px 8px;
    border-radius: 5px;
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* ========================================================================
   2. HERO SECTION
======================================================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ========================================================================
   3. GENERAL BUTTONS
======================================================================== */
.btn {
    padding: .8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: .25s;
}

.btn-primary {
    background: #FFD700;
    color: #333;
}

.btn-primary:hover {
    background: #FF8C00;
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* ========================================================================
   4. FORM ELEMENTS
======================================================================== */
.form-box {
    background: white;
    padding: 2rem;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: .4rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: .8rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* ========================================================================
   5. AUTH PAGES (LOGIN / REGISTER)
======================================================================== */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f7fa;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    animation: fadeIn .4s ease-out;
}
.auth-box label {
    display: block;
    width: 100%;
    margin-top: 10px;
}
.auth-box input {
    width: 100%;
    display: block;
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}

.auth-error {
    background: #ffe0e0;
    color: #b60000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.auth-box input {
    padding: 12px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    margin-bottom: 18px;
}

.auth-box input:focus {
    border-color: #0a66c2;
    box-shadow: 0 0 0 3px rgba(10,102,194,0.18);
}

.login-btn {
    background: #FFD700;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: .25s;
}

.login-btn:hover {
    background: #f5c400;
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    font-size: 14px;
}

/* ========================================================================
   6. SKILLS UI
======================================================================== */

.skills-wrapper {
    margin-top: 15px;
}

.skill-search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    margin-bottom: 12px;
}

#skillCounter {
    font-size: 14px;
    font-weight: 600;
    color: #0a66c2;
    margin-bottom: 12px;
}

.skill-category {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.skill-header {
    padding: 12px 16px;
    background: #f8f9fb;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.skill-header:hover {
    background: #eef3f8;
}

.skill-list {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height .35s ease, padding .35s ease;
}

.skill-list.open {
    max-height: 600px;
    padding: 12px 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.skill-item:hover {
    background: #eaf2ff;
}

.skill-item input[type="checkbox"] {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #0a66c2;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.skill-item input[type="checkbox"]:checked {
    background: #0a66c2;
}

.skill-item input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 8px;
    position: absolute;
    top: -2px;
    left: 2px;
}
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: #f5f7fa;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    animation: fadeIn .4s ease-out;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.auth-error {
    background: #ffe0e0;
    color: #b60000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.login-btn {
    width: 100%;
    background: #FFD700;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: .25s;
}

.login-btn:hover {
    background: #f5c400;
    transform: translateY(-2px);
}

/* ========================================================================
   7. DASHBOARD (CANDIDATE + EMPLOYER)
======================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, auto));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 6px solid #FFD700;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #FF8C00;
}

.dashboard-section {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
/* =========================================
   FEATURE HORIZONTAL BOXES – PREMIUM
========================================= */

.features {
    padding: 4rem 1rem;
    background: #f5f6fa;
}

.features h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 800;
    color: #333;
}

/* Wrapper: 3 κουτιά οριζόντια */
.features-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap; /* Για κινητά */
}

/* Single Box */
.feature-box {
    background: #ffffff;
    width: 320px;             /* Μικρό κουτί */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-top: 6px solid #FFD700;
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.feature-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.feature-box p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.45;
}
.match-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.company {
    font-size: 14px;
    opacity: 0.7;
}

.match-bar {
    width: 100%;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    margin: 10px 0;
}

.match-fill {
    height: 12px;
    background: #0a66c2;
    border-radius: 6px;
}

.match-percent {
    font-weight: 700;
    margin: 0;
}

/* ========================================================================
   8. FOOTER
======================================================================== */

.site-footer {
    background: #222;
    color: #ddd;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 14px;
    text-align: center;
}

.footer-links a {
    color: #ffd700;
    margin-left: 15px;
    text-decoration: none;
}

/* ========================================================================
   9. RESPONSIVE
======================================================================== */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; }
    .hero-content h2 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
}
