@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,300;1,400;1,500&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: #f8f9fa;
    color: #333;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 46, 95, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .logo img{
    width: 130%;
    height: 7rem;
    top: 0;
    left: 0;
}

.header .navbar ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header .navbar ul li {
    margin: 0 1.5rem;
}

.header .navbar ul li a {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 500;
    position: relative;
    text-transform: capitalize;
}

.header .navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00bfff;
    transition: width 0.3s ease;
}

.header .navbar ul li a:hover::after {
    width: 100%;
}

.header .navbar ul li a:hover {
    color: #00bfff;
}

.header .fa-bars {
    color: #fff;
    cursor: pointer;
    font-size: 3rem;
    display: none;
}

.home h2 {
    color: #fff;
    font-size: 4rem;
    font-weight: 300;
    margin-top: 8rem;
}

/* Career Heading */
.career-heading {
    text-align: center;
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 0;
}

.heading {
    font-size: 4rem;
    color: #002e5f;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.heading::before,
.heading::after {
    content: '';
    position: absolute;
    height: 2.5rem;
    width: 2.5rem;
    border-top: 0.4rem solid #00bfff;
    border-left: 0.4rem solid #00bfff;
}

.heading::before {
    top: -1rem;
    left: -2rem;
}

.heading::after {
    bottom: -1rem;
    right: -2rem;
    transform: rotate(180deg);
}

.career-heading p {
    font-size: 1.8rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Container */
.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Auth Toggle Buttons */
.auth-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto 3rem;
}

.auth-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #666;
}

.auth-btn.active {
    background: #002e5f;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 46, 95, 0.3);
}

.auth-btn:hover:not(.active) {
    background: #f8f9fa;
    color: #002e5f;
}

/* Auth Forms */
.auth-form {
    display: none;
    background: #fff;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.8rem;
    color: #002e5f;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-header p {
    font-size: 1.6rem;
    color: #666;
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.form-group label i {
    color: #00bfff;
    margin-right: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bfff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: #666;
}

.remember-me input {
    margin-right: 0.8rem;
    width: auto;
}

.forgot-password {
    font-size: 1.4rem;
    color: #00bfff;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1.8rem;
    font-size: 1.8rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #002e5f 0%, #00bfff 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 46, 95, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 46, 95, 0.4);
}

/* Dashboard Styles */
.dashboard {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f1f3f5;
}

.dashboard-header h2 {
    font-size: 2.8rem;
    color: #002e5f;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.user-info span {
    font-size: 1.6rem;
    color: #666;
}

.logout-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: 2px solid #dc3545;
    border-radius: 8px;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 15px;
}

.tab-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #666;
}

.tab-btn.active {
    background: #002e5f;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 46, 95, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #fff;
    color: #002e5f;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Profile Section */
.profile-section h3 {
    font-size: 2.4rem;
    color: #002e5f;
    margin-bottom: 3rem;
    font-weight: 600;
}

.profile-photo {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.photo-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #00bfff;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-container:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    color: #fff;
    font-size: 2rem;
}

.photo-btn {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: 2px solid #00bfff;
    border-radius: 8px;
    background: transparent;
    color: #00bfff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-btn:hover {
    background: #00bfff;
    color: #fff;
}

/* CV Section */
.cv-section h3 {
    font-size: 2.4rem;
    color: #002e5f;
    margin-bottom: 3rem;
    font-weight: 600;
}

.cv-upload-area {
    margin-bottom: 3rem;
}

.upload-zone {
    border: 3px dashed #00bfff;
    border-radius: 15px;
    padding: 4rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.upload-zone:hover {
    background: #e3f2fd;
    border-color: #002e5f;
}

.upload-zone i {
    font-size: 4rem;
    color: #00bfff;
    margin-bottom: 2rem;
}

.upload-zone h4 {
    font-size: 2rem;
    color: #002e5f;
    margin-bottom: 1rem;
}

.upload-zone p {
    font-size: 1.4rem;
    color: #666;
}

.cv-current h4 {
    font-size: 2rem;
    color: #002e5f;
    margin-bottom: 2rem;
}

.cv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.cv-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #002e5f;
}

.cv-date, .cv-size {
    font-size: 1.3rem;
    color: #666;
}

.cv-actions {
    display: flex;
    gap: 1rem;
}

.cv-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-btn.view {
    background: #00bfff;
    color: #fff;
}

.cv-btn.download {
    background: #28a745;
    color: #fff;
}

.cv-btn.delete {
    background: #dc3545;
    color: #fff;
}

.cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* CV Templates */
.cv-templates h4 {
    font-size: 2rem;
    color: #002e5f;
    margin-bottom: 1rem;
}

.cv-templates p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2rem;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.template-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.template-card:hover {
    border-color: #00bfff;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.template-preview {
    width: 60px;
    height: 80px;
    background: #00bfff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.template-preview i {
    font-size: 2rem;
    color: #fff;
}

.template-card h5 {
    font-size: 1.6rem;
    color: #002e5f;
    margin-bottom: 1rem;
}

.template-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: 2px solid #00bfff;
    border-radius: 8px;
    background: transparent;
    color: #00bfff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-btn:hover {
    background: #00bfff;
    color: #fff;
}

/* Projects Section */
.projects-section h3 {
    font-size: 2.4rem;
    color: #002e5f;
    margin-bottom: 3rem;
    font-weight: 600;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.projects-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #002e5f;
}

.stat-label {
    font-size: 1.3rem;
    color: #666;
}

.add-project-btn {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #00bfff;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-project-btn:hover {
    background: #0099cc;
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-card:hover {
    border-color: #00bfff;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h4 {
    font-size: 1.8rem;
    color: #002e5f;
    font-weight: 600;
}

.project-status {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.completed {
    background: #d4edda;
    color: #155724;
}

.project-status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.project-description {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.project-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #666;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: 2px solid #00bfff;
    border-radius: 8px;
    background: transparent;
    color: #00bfff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #00bfff;
    color: #fff;
}

/* Settings Section */
.settings-section h3 {
    font-size: 2.4rem;
    color: #002e5f;
    margin-bottom: 3rem;
    font-weight: 600;
}

.settings-group {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.settings-group.danger {
    background: #fdf2f2;
    border: 2px solid #fed7d7;
}

.settings-group h4 {
    font-size: 1.8rem;
    color: #002e5f;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.settings-group.danger h4 {
    color: #dc3545;
}

.setting-item {
    margin-bottom: 1.5rem;
}

.setting-label {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
}

.setting-label input[type="checkbox"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
}

.setting-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: 2px solid #00bfff;
    border-radius: 8px;
    background: transparent;
    color: #00bfff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.setting-btn:hover {
    background: #00bfff;
    color: #fff;
}

.setting-btn.danger {
    border-color: #dc3545;
    color: #dc3545;
}

.setting-btn.danger:hover {
    background: #dc3545;
    color: #fff;
}

/* Footer */
.footer {
    position: relative;
    padding: 0 0 30px 0;
    background: #333;
    margin-top: 5rem;
}

.footer .footer-top {
    background: #002e5f;
    padding: 60px 0 30px 0;
}

.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}

.footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #ffffff;
    color: #00bfff;
    line-height: 1;
    padding: 9px 0;
    margin-right: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    border-radius: 50%;
}

.footer .footer-top .social-links a:hover {
    background: #00bfff;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer .footer-top h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 50px;
    border-bottom: 2px solid #00bfff;
}

.footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #00bfff;
    font-size: 16px;
}

.footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #444;
    padding: 7px 0;
    transition: all 0.3s ease;
}

.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul li:hover {
    padding-left: 5px;
}

.footer .footer-top .footer-links ul a {
    font-size: 1.4rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer .footer-top .footer-links ul a:hover {
    color: #00bfff;
}

.footer .footer-top .footer-contact p {
    color: #ffffff;
    line-height: 26px;
    font-size: 1.4rem;
}

.footer .footer-top .footer-newsletter input[type="email"] {
    padding: 10px 15px;
    width: 60%;
    border: 1px solid #444;
    background: transparent;
    color: #ffffff;
    border-radius: 5px 0 0 5px;
    font-size: 1.4rem;
}

.footer .footer-top .footer-newsletter input[type="submit"] {
    border: 0;
    width: 40%;
    padding: 10px 0;
    text-align: center;
    color: #002e5f;
    border: 1px solid #00bfff;
    background: #00bfff;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: #0099cc;
    transform: translateY(-2px);
}

.footer .footer-top .footer-newsletter p {
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1.6;
}

.footer .copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 1.4rem;
}

.back-to-top {
    position: fixed;
    display: none;
    background: linear-gradient(135deg, #00bfff 0%, #002e5f 100%);
    color: #ffffff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    right: 20px;
    bottom: 20px;
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1200px) {
    html {
        font-size: 50%;
    }
    
    /* Ajustes generales */
    .career-container {
        padding: 2rem 1rem;
    }
    
    .auth-form {
        padding: 3rem 2rem;
    }
    
    .dashboard {
        padding: 2rem;
    }
    
    /* === MENÚ MÓVIL - CONFIGURACIÓN PRINCIPAL === */
    .header .logo img {
        width: 20%;
        height: 3rem;
        top: 0;
        left: 0;
        background-size: cover;
    }

    .header .fa-bars {
        display: block;
        color: white;
        margin-right: 1rem;
        cursor: pointer;
    }

    .header .fa-bars:hover {
        color: #00bfff;
    }

    .header .navbar {
        position: fixed;
        top: -120%;
        left: 0;
        height: auto;
        width: 100%;
        background-color: white;
        z-index: 1000;
        border-top: .1rem solid rgba(0,0,0,.3);
        transition: top 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* ESTA ES LA CLASE MÁS IMPORTANTE - ACTIVA EL MENÚ */
    .header .navbar.nav-toggle {
        top: 7rem; /* Valor consistente */
    }

    .header .navbar ul {
        height: 100%;
        width: 100%;
        flex-flow: column;
        padding: 2rem 0;
    }

    .header .navbar ul li {
        margin: 1rem 0;
    }

    .header .navbar ul li a {
        color: #333;
        font-size: 2.4rem;
        display: block;
        padding: 1rem 2rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .header .navbar ul li a:hover {
        color: #00bfff;
        background: #f8f9fa;
    }

    /* Animación del ícono hamburguesa */
    .header .fa-times {
        transform: rotate(90deg);
    }

    /* === RESTO DE ESTILOS MÓVILES === */
    .career-heading {
        padding: 8rem 1rem 3rem;
    }

    .heading {
        font-size: 3rem;
    }

    .career-heading p {
        font-size: 1.6rem;
    }

    .auth-toggle {
        max-width: 100%;
        margin: 0 1rem 2rem;
    }

    .auth-form {
        margin: 0 1rem;
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        flex: none;
    }

    .dashboard {
        margin: 0 1rem;
        padding: 1.5rem;
    }

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

    .dashboard-header h2 {
        font-size: 2.2rem;
    }

    .dashboard-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 1.2rem;
        font-size: 1.4rem;
    }

    .profile-photo {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .projects-header {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .projects-stats {
        gap: 2rem;
        width: 100%;
        justify-content: space-around;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-details {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .project-actions {
        flex-direction: column;
    }

    .template-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .cv-item {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .cv-actions {
        width: 100%;
        justify-content: space-between;
    }

    .upload-zone {
        padding: 2rem;
    }

    .upload-zone i {
        font-size: 3rem;
    }

    .upload-zone h4 {
        font-size: 1.8rem;
    }

    .settings-group {
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .user-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer .footer-top .footer-newsletter input[type="email"] {
        width: 100%;
        margin-bottom: 1rem;
        border-radius: 5px;
    }

    .footer .footer-top .footer-newsletter input[type="submit"] {
        width: 100%;
        border-radius: 5px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .career-heading {
        padding: 7rem 1rem 2rem;
    }
    
    .heading {
        font-size: 2.8rem;
    }
    
    .career-heading p {
        font-size: 1.5rem;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
    }
    
    .form-header h2 {
        font-size: 2.4rem;
    }
    
    .form-header p {
        font-size: 1.4rem;
    }
    
    .dashboard {
        padding: 1.5rem 1rem;
    }
    
    .dashboard-header h2 {
        font-size: 2rem;
    }
    
    .tab-btn {
        padding: 1rem;
        font-size: 1.3rem;
    }
    
    .profile-section h3,
    .cv-section h3,
    .projects-section h3,
    .settings-section h3 {
        font-size: 2rem;
    }
    
    .photo-container {
        width: 100px;
        height: 100px;
    }
    
    .projects-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-item {
        padding: 1rem;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .template-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-header h4 {
        font-size: 1.6rem;
    }
    
    .project-description {
        font-size: 1.3rem;
    }
    
    .upload-zone {
        padding: 1.5rem;
    }
    
    .upload-zone i {
        font-size: 2.5rem;
    }
    
    .upload-zone h4 {
        font-size: 1.6rem;
    }
    
    .cv-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cv-btn {
        width: 100%;
    }
    
    .settings-group {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .career-container {
        padding: 1rem;
    }
    
    .career-heading {
        padding: 6rem 1rem 2rem;
    }
    
    .heading {
        font-size: 2.5rem;
    }
    
    .career-heading p {
        font-size: 1.4rem;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 2.2rem;
    }
    
    .dashboard {
        padding: 1rem;
    }
    
    .dashboard-header h2 {
        font-size: 1.8rem;
    }
    
    .tab-btn {
        padding: 0.8rem;
        font-size: 1.2rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        right: 15px;
        bottom: 15px;
    }
    
    .photo-container {
        width: 80px;
        height: 80px;
    }
    
    .projects-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-actions {
        gap: 0.5rem;
    }
    
    .upload-zone {
        padding: 1rem;
    }
    
    .upload-zone i {
        font-size: 2rem;
    }
    
    .upload-zone h4 {
        font-size: 1.4rem;
    }
    
    .upload-zone p {
        font-size: 1.2rem;
    }
    
    .cv-item {
        padding: 1rem;
    }
    
    .cv-name {
        font-size: 1.4rem;
    }
    
    .cv-date, .cv-size {
        font-size: 1.1rem;
    }
    
    .settings-group {
        padding: 0.5rem;
    }
    
    .setting-label {
        font-size: 1.2rem;
    }
    
    .setting-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }
}

/* Additional Interactive Elements */
.form-group input:valid {
    border-color: #28a745;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #00bfff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    font-size: 1.4rem;
    font-weight: 600;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hover Effects */
.project-card:hover .project-header h4 {
    color: #00bfff;
}

.template-card:hover .template-preview {
    transform: scale(1.1);
}

.cv-item:hover {
    background: #e3f2fd;
}

/* Focus States */
.submit-btn:focus,
.photo-btn:focus,
.cv-btn:focus,
.project-btn:focus,
.template-btn:focus,
.setting-btn:focus {
    outline: 3px solid rgba(0, 191, 255, 0.3);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #00bfff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .dashboard-tabs,
    .auth-toggle {
        display: none !important;
    }
    
    .dashboard {
        box-shadow: none;
        padding: 0;
    }
    
    .tab-content {
        display: block !important;
    }
}