.post {
    background-color: #cbdef9;
    margin: auto;
    text-align: center;
    padding: 10px;
    margin-bottom: 5px;
}

.nav-link {
    color: rgb(34, 34, 34)
}

.logo {
    max-width: 100px;
    margin-bottom: 5px;
}

.user_register_container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.user_type_student {
    padding: 7px;
    font-size: 13px;
    background: #4fad4f;
    color: white;
    border-radius: 5px;
    margin-right: 5px;
}

.user_type_studio {
    padding: 7px;
    font-size: 13px;
    background: #e16c49;
    color: white;
    border-radius: 5px;
    margin-right: 5px;
}

.user_type_mm {
    padding: 7px;
    font-size: 13px;
    background: #8b49e1;
    color: white;
    border-radius: 5px;
    margin-right: 5px;
}

.register_container {
    padding: 20px 0px 20px 0px;
    margin: 50px 0px 50px 0px;
    border-radius: 10px;
}

.register_container_button {
    width: 100%;
}

.register-title {
    font-size: 20px;
    font-style: italic;

}

.login-container {
    margin: 50px 0px 50px 0px;
    padding: 20px 0px 20px 0px;
    border-radius: 10px;
}

.user-avatar {
    margin: auto;
    border-radius: 10rem;
    width: 150px;
    height: 150px;
}

.user-settings-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1rem;
    margin: 10px 0px 10px 0px;
    border-radius: 6px;
}

.user-dashboard-btns {
    gap: 5px
}

.user-dashboard {
    border-radius: 6px;
}

.studios-list {
    display: flex;
    gap: 20px;
}

.studio-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    border-radius: 1rem;
    margin: 10px 0px 10px 0px;
}

.studio-list-img {
    border-radius: 10rem;
    max-width: 100px;
}

.settings-container {
    padding: 1rem;
    margin: 0px 0px 20px 0px;
    border-radius: 0.5rem;
}

.portfolio-item-container {
    border-radius: 0.5rem;
    margin: 1rem 0rem 1rem 0rem;
    padding: 1rem;
}

.portfolio-item-thumbnail {
    border-radius: 1rem;
}

.employment-container {
    padding: 1rem;
}


/* gallery.css */

/* Swiper container */
.swiper {
    width: 100%;
    padding: 20px 0;
}

/* Slides */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
    /* spacing between slides */
}

/* Slide images */
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Make swiper-slide a flex container */
.EmploymentSlider .swiper-slide {
    display: flex;
    justify-content: center;
}

.EmploymentSlider .swiper-slide .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* JS sets parent slide height */
}

.EmploymentSlider .swiper-slide .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.employment-card-img {
    padding: 1rem;
}



/* Reset for about page only */
.about-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Header space compensation */
.about-page-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* Unique class names to prevent conflicts */
.about-page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.about-page-hero-content {
    position: relative;
    z-index: 1;
}

.about-page-hero-title {
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.about-page-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.about-page-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.about-page-section {
    padding: 2rem 0;
}

.about-page-section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-size: 1.75rem;
    text-align: center;
}

.about-page-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background: white;
    overflow: hidden;
}

.about-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-page-card-body {
    padding: 1.5rem;
}

.about-page-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.about-page-feature-student {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.about-page-feature-studio {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.about-page-feature-maker {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.about-page-card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    text-align: center;
}

.about-page-card-text {
    margin-bottom: 1rem;
    text-align: center;
}

.about-page-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-page-feature-list li {
    padding: 0.5rem 0;
    color: #475569;
    display: flex;
    align-items: center;
}

.about-page-feature-list i {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.about-page-stats-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
}

.about-page-stat-item {
    text-align: center;
    padding: 1rem;
}

.about-page-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-page-stat-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-page-team-member {
    text-align: center;
    padding: 1.5rem;
}

.about-page-member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.about-page-member-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.about-page-member-role {
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.about-page-member-bio {
    color: #64748b;
    font-size: 0.9rem;
}

.about-page-footer {
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    color: #f1f5f9 !important;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.about-page-footer a {
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-page-footer a:hover {
    color: #6366f1 !important;
}

.about-page-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-page-footer-links a {
    font-weight: 500;
}

.about-page-cta {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: center;
}

.about-page-cta-title {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.about-page-cta-button {
    background: white;
    color: #6366f1;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.about-page-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Animation classes */
.about-page-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-page-fade-in.about-page-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-page-hero {
        padding: 2rem 0;
    }

    .about-page-hero-title {
        font-size: 2rem;
    }

    .about-page-section {
        padding: 1.5rem 0;
    }

    .about-page-stat-number {
        font-size: 2rem;
    }

    .about-page-footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .about-page-hero-title {
        font-size: 1.75rem;
    }

    .about-page-card-body {
        padding: 1.25rem;
    }

    .about-page-stats-container {
        padding: 1.5rem;
    }
}



/* Reset for agreements page only */
.user-agreements-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Header space compensation */
.user-agreements-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* Unique class names to prevent conflicts */
.user-agreements-hero {
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.user-agreements-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.user-agreements-hero-content {
    position: relative;
    z-index: 1;
}

.user-agreements-hero-title {
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.user-agreements-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.user-agreements-section {
    padding: 2rem 0;
}

.user-agreements-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    background: white;
    overflow: hidden;
}

.user-agreements-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-agreements-card-header:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #dbeafe 100%);
}

.user-agreements-card-header[aria-expanded="true"] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

.user-agreements-card-header[aria-expanded="true"] .user-agreements-accordion-icon {
    transform: rotate(180deg);
    color: white;
}

.user-agreements-card-title {
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-agreements-accordion-icon {
    transition: transform 0.3s ease;
    color: #6366f1;
}

.user-agreements-card-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.user-agreements-section-title {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.user-agreements-text {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.user-agreements-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.user-agreements-list li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.user-agreements-highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.user-agreements-highlight-box-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.user-agreements-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.user-agreements-table th,
.user-agreements-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.user-agreements-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.user-agreements-table tr:hover {
    background: #f8fafc;
}

.user-agreements-footer {
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    color: #f1f5f9 !important;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.user-agreements-footer a {
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-agreements-footer a:hover {
    color: #6366f1 !important;
}

.user-agreements-footer .text-muted {
    color: #cbd5e1 !important;
}

.user-agreements-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.user-agreements-footer-links a {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .user-agreements-hero {
        padding: 2rem 0;
    }

    .user-agreements-hero-title {
        font-size: 2rem;
    }

    .user-agreements-section {
        padding: 1.5rem 0;
    }

    .user-agreements-card-body {
        padding: 1.25rem;
    }

    .user-agreements-footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .user-agreements-hero-title {
        font-size: 1.75rem;
    }

    .user-agreements-card-header {
        padding: 1rem 1.25rem;
    }

    .user-agreements-card-title {
        font-size: 1.1rem;
    }

    .user-agreements-table {
        font-size: 0.8rem;
    }

    .user-agreements-table th,
    .user-agreements-table td {
        padding: 0.5rem;
    }
}


/* Reset for contact page only */
.contact-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Header space compensation */
.contact-page-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* Unique class names to prevent conflicts */
.contact-page-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.contact-page-hero-content {
    position: relative;
    z-index: 1;
}

.contact-page-hero-title {
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-page-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.contact-page-section {
    padding: 2rem 0;
}

.contact-page-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.contact-page-card-body {
    padding: 1.5rem;
}

.contact-page-card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.25rem;
}

.contact-page-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-page-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-page-info-primary {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.contact-page-info-secondary {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.contact-page-info-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.contact-page-info-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
    font-size: 1.1rem;
}

.contact-page-info-content p {
    color: #64748b;
    margin: 0;
}

.contact-page-form-group {
    margin-bottom: 1.5rem;
}

.contact-page-form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-page-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-page-form-control:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.contact-page-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-page-submit-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-page-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
}

.contact-page-submit-btn i {
    margin-right: 0.5rem;
}

.contact-page-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 300px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 600;
}

.contact-page-faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0;
}

.contact-page-faq-item:last-child {
    border-bottom: none;
}

.contact-page-faq-question {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-page-faq-answer {
    color: #64748b;
}

.contact-page-footer {
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    color: #f1f5f9 !important;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.contact-page-footer a {
    color: #e2e8f0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-page-footer a:hover {
    color: #0ea5e9 !important;
}

.contact-page-footer .text-muted {
    color: #cbd5e1 !important;
}

.contact-page-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-page-footer-links a {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-page-hero {
        padding: 2rem 0;
    }

    .contact-page-hero-title {
        font-size: 2rem;
    }

    .contact-page-section {
        padding: 1.5rem 0;
    }

    .contact-page-card-body {
        padding: 1.25rem;
    }

    .contact-page-footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .contact-page-hero-title {
        font-size: 1.75rem;
    }

    .contact-page-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-page-info-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .contact-page-map-container {
        height: 200px;
    }
}


/* Fix horizontal scroll */
body {
    overflow-x: hidden;
}

.all-jobs-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.all-jobs-header-py {
    padding: 3rem 0 2rem 0;
}

.all-jobs-page-title {
    color: #6366f1;
    font-weight: 800;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.all-jobs-page-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.all-jobs-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 100%;
}

.all-jobs-title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    max-width: 100px;
}

/* Employment Grid */
.all-jobs-list-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.all-jobs-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.all-jobs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.all-jobs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}

.all-jobs-card:hover::before {
    transform: scaleX(1);
}

.all-jobs-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.all-jobs-card:hover .all-jobs-card-hover {
    opacity: 1;
}

/* Card Header */
.all-jobs-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    width: 100%;
}

.all-jobs-employer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

.all-jobs-employer-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.all-jobs-studio-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all-jobs-employer-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.all-jobs-card:hover .all-jobs-employer-glow {
    opacity: 1;
}

.all-jobs-employer-details {
    min-width: 0;
}

.all-jobs-employer-details h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.all-jobs-post-date {
    color: #64748b;
    font-size: 0.9rem;
}

.all-jobs-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.all-jobs-badge-text {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Body */
.all-jobs-card-body {
    margin-bottom: 2rem;
    width: 100%;
}

.all-jobs-job-title {
    color: #1e293b;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.all-jobs-job-desc {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    word-wrap: break-word;
}

.all-jobs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.all-jobs-tag {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    white-space: nowrap;
}

/* Card Footer */
.all-jobs-card-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.all-jobs-view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6366f1;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #6366f1;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.all-jobs-view-details-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.all-jobs-view-details-btn svg {
    transition: transform 0.3s ease;
}

.all-jobs-view-details-btn:hover svg {
    transform: translateX(3px);
}

/* Empty State */
.all-jobs-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.all-jobs-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.all-jobs-empty-state h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.all-jobs-empty-state p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.all-jobs-primary-btn {
    background: #6366f1;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.all-jobs-primary-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .all-jobs-page-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .all-jobs-page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .all-jobs-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .all-jobs-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .all-jobs-badge {
        align-self: flex-start;
    }

    .all-jobs-job-title {
        font-size: 1.3rem;
    }

    .all-jobs-employer-avatar {
        width: 50px;
        height: 50px;
    }

    .all-jobs-list-grid {
        padding: 2rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .all-jobs-list-grid {
        gap: 1.5rem;
        padding: 1rem 0.5rem;
    }

    .all-jobs-card {
        padding: 1.25rem;
        margin: 0;
    }

    .all-jobs-employer-info {
        gap: 0.75rem;
    }

    .all-jobs-employer-avatar {
        width: 45px;
        height: 45px;
    }

    .all-jobs-view-details-btn {
        width: 100%;
        justify-content: center;
    }

    .all-jobs-tags {
        justify-content: center;
    }
}

/* Animation for card entrance */
@keyframes all-jobs-card-entrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.all-jobs-card {
    animation: all-jobs-card-entrance 0.6s ease-out;
    animation-fill-mode: both;
}

.all-jobs-card:nth-child(1) {
    animation-delay: 0.1s;
}

.all-jobs-card:nth-child(2) {
    animation-delay: 0.2s;
}

.all-jobs-card:nth-child(3) {
    animation-delay: 0.3s;
}

.all-jobs-card:nth-child(4) {
    animation-delay: 0.4s;
}

.all-jobs-card:nth-child(5) {
    animation-delay: 0.5s;
}

.all-jobs-card:nth-child(6) {
    animation-delay: 0.6s;
}



.portfolio-page-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

/* Hero Section */
.portfolio-hero-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.portfolio-header-content {
    text-align: center;
    color: white;
}

.portfolio-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.portfolio-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Actions Section */
.portfolio-actions-section {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-create-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.portfolio-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

/* Masonry Grid */
.portfolio-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.portfolio-masonry-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    break-inside: avoid;
}

.portfolio-masonry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

/* Card Header */
.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.portfolio-card-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.portfolio-photo-count {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

/* Masonry Photos */
.portfolio-masonry-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.portfolio-masonry-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    min-height: 100px;
}

.portfolio-masonry-image:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.portfolio-masonry-image:nth-child(2),
.portfolio-masonry-image:nth-child(3) {
    aspect-ratio: 1;
}

.portfolio-masonry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-masonry-image:hover img {
    transform: scale(1.05);
}

.portfolio-masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-masonry-image:hover .portfolio-masonry-overlay {
    opacity: 1;
}

.portfolio-masonry-overlay p {
    padding-bottom: 1rem;
    color: white;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.3;
}

/* More Photos Badge */
.portfolio-more-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(99, 102, 241, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: pulse 2s infinite;
}

.portfolio-more-badge span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

/* Description */
.portfolio-card-desc {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}

.portfolio-card-desc p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Action Buttons */
.portfolio-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 80px;
}

.view-btn {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.view-btn:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-1px);
}

.edit-btn {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.edit-btn:hover {
    background: #f59e0b;
    color: white;
    transform: translateY(-1px);
}

.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.delete-btn:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-1px);
}

/* Empty State */
.portfolio-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-state-icon {
    font-size: 4rem;
    color: #6366f1;
    margin-bottom: 1.5rem;
}

.portfolio-empty-state h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-empty-state p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.empty-state-btn {
    display: inline-flex;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-hero-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .portfolio-main-title {
        font-size: 2rem;
    }

    .portfolio-masonry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .portfolio-masonry-card {
        padding: 1.25rem;
    }

    .portfolio-masonry-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .portfolio-main-title {
        font-size: 1.8rem;
    }

    .portfolio-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .portfolio-create-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .portfolio-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .portfolio-photo-count {
        align-self: flex-start;
        margin-left: 0;
    }

    .portfolio-card-actions {
        flex-direction: column;
    }

    .portfolio-action-btn {
        flex: none;
    }

    .portfolio-masonry-photos {
        grid-template-columns: 1fr;
    }

    .portfolio-masonry-image {
        grid-column: span 1 !important;
        aspect-ratio: 16/9 !important;
    }

    .portfolio-more-badge {
        bottom: 8px;
        right: 8px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-masonry-card {
    animation: fadeInUp 0.5s ease-out;
}

/* Masonry staggered animation */
.portfolio-masonry-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.portfolio-masonry-card:nth-child(3n) {
    animation-delay: 0.2s;
}


/* Scoped styles for dashboard only */
.user-dashboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    border-left: 4px solid #6366f1;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-settings-menu {
    background: white;
    border-radius: 12px;
}

.btn-group-vertical .btn {
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid;
    transition: all 0.3s ease;
}

.btn-group-vertical .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-item {
    padding: 0.5rem;
}

.stat-number {
    font-size: 1.3rem;
}

.welcome-text {
    font-size: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .user-dashboard .row {
        flex-direction: column;
    }

    .col-lg-9,
    .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .user-settings-menu {
        margin-top: 1.5rem;
        order: -1;
    }
}

@media (max-width: 768px) {
    .container.py-4 {
        padding: 1rem !important;
    }

    h1.mx-4 {
        font-size: 1.8rem !important;
    }

    .welcome-text {
        font-size: 1.3rem;
    }

    .user-avatar {
        width: 90px !important;
        height: 90px !important;
    }

    .info-card {
        padding: 1rem;
    }

    .btn-group-vertical .btn {
        padding: 0.7rem;
    }
}

@media (max-width: 576px) {
    h1.mx-4 {
        font-size: 1.5rem !important;
        margin: 0 1rem !important;
    }

    .user-settings-menu {
        padding: 1.5rem !important;
    }
}


/* Scoped styles to avoid navbar conflicts */
.settings-form .form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.settings-form .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.1rem rgba(99, 102, 241, 0.1);
}

.settings-form .form-control-sm {
    min-height: calc(1.5em + 0.5rem + 2px);
}

.current-avatar {
    transition: all 0.3s ease;
}

.current-avatar:hover {
    transform: scale(1.05);
    border-color: #4f46e5 !important;
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.15rem;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #6366f1;
    border-color: #6366f1;
}

.btn-primary:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.card {
    border-radius: 10px;
}

.card-body {
    padding: 1rem !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container.py-3 {
        padding: 0.5rem !important;
    }

    h1.mx-3 {
        font-size: 1.5rem !important;
    }

    .current-avatar {
        width: 80px !important;
        height: 80px !important;
    }

    .col-lg-6 {
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    h1.mx-3 {
        font-size: 1.3rem !important;
        margin: 0 1rem !important;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }

    .d-flex.justify-content-between .btn {
        width: 100%;
        text-align: center;
    }

    .card-body {
        padding: 0.75rem !important;
    }
}

/* Employment Item Manager Styles */
.emp-item-manager-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.emp-item-manager-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.emp-item-manager-card-header {
    margin-bottom: 16px;
}

.emp-item-manager-avatar-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.emp-item-manager-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.emp-item-manager-header-text {
    flex: 1;
}

.emp-item-manager-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.emp-item-manager-meta-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.emp-item-manager-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #6c757d;
}

.emp-item-manager-meta-item i {
    font-size: 0.8rem;
    color: #95a5a6;
}

.emp-item-manager-card-desc {
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid #f8f9fa;
    border-bottom: 1px solid #f8f9fa;
}

.emp-item-manager-card-desc p {
    margin: 0;
    color: #5a6c7d;
    line-height: 1.5;
    font-size: 0.95rem;
}

.emp-item-manager-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.emp-item-manager-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
}

.emp-item-manager-view-btn {
    background-color: #3498db;
    color: white;
}

.emp-item-manager-view-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.emp-item-manager-edit-btn {
    background-color: #f39c12;
    color: white;
}

.emp-item-manager-edit-btn:hover {
    background-color: #e67e22;
    transform: translateY(-1px);
}

.emp-item-manager-delete-btn {
    background-color: #e74c3c;
    color: white;
}

.emp-item-manager-delete-btn:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

/* Empty State Styles */
.emp-item-manager-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.emp-item-manager-empty-state-icon {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.emp-item-manager-empty-state h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.emp-item-manager-empty-state p {
    color: #7f8c8d;
    margin-bottom: 24px;
    font-size: 1rem;
}

.emp-item-manager-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emp-item-manager-empty-state-btn {
    background-color: #2ecc71;
}

.emp-item-manager-create-btn:hover {
    background-color: #219a52;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .emp-item-manager-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .emp-item-manager-avatar-section {
        flex-direction: column;
        text-align: center;
    }

    .emp-item-manager-avatar-img {
        align-self: center;
    }

    .emp-item-manager-meta-info {
        justify-content: center;
    }

    .emp-item-manager-card-actions {
        justify-content: center;
    }

    .emp-item-manager-action-btn {
        flex: 1;
        justify-content: center;
        min-width: 100px;
    }
}

/* Scoped styles to avoid header conflicts */
.employment-form-container .card {
    border-radius: 12px;
}

.employment-form-container .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.employment-form-container .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.1);
}

.employment-form-container .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.employment-form-container .btn-primary {
    background: #6366f1;
    border-color: #6366f1;
}

.employment-form-container .btn-primary:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-2px);
}

.employment-form-container .btn-outline-secondary:hover {
    transform: translateY(-2px);
}

.employment-form-container .alert {
    border-radius: 10px;
    padding: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .employment-form-container .container.py-4 {
        padding: 1rem !important;
    }

    .employment-form-container h1.mx-4 {
        font-size: 1.5rem !important;
    }

    .employment-form-container .card-body {
        padding: 1.5rem !important;
    }

    .employment-form-container .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .employment-form-container .d-flex.justify-content-between .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .employment-form-container h1.mx-4 {
        font-size: 1.3rem !important;
        margin: 0 1rem !important;
    }

    .employment-form-container .card-body {
        padding: 1rem !important;
    }

    .employment-form-container .form-control {
        padding: 0.6rem 0.75rem;
    }
}


/* Navbar specific styles */
.navbar {
    padding: 0.5rem 0;
    position: relative;
    z-index: 1030;
}

.navbar-brand {
    padding: 0;
}

.navbar-nav .nav-link {
    color: #374151 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 0 0.1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.1);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin: 0.1rem 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.btn-group .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary {
    border-color: #6366f1;
    color: #6366f1;
}

.btn-outline-primary:hover {
    background: #6366f1;
    border-color: #6366f1;
    transform: translateY(-1px);
}

.badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

/* ===== MOBILE STYLES ===== */

/* Mobile Menu Button - FIXED */
.mobile-menu-btn {
    border: none;
    background: transparent;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.mobile-menu-btn:hover {
    background: rgba(99, 102, 241, 0.1);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 14px;
    position: relative;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #6366f1;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-icon span:nth-child(1) {
    transform: translateY(0);
}

.menu-icon span:nth-child(2) {
    margin: 4px 0;
    opacity: 1;
}

.menu-icon span:nth-child(3) {
    transform: translateY(0);
}

/* Mobile Offcanvas */
.mobile-navbar.offcanvas {
    background: #ffffff;
    border-left: 1px solid rgba(99, 102, 241, 0.1);
    width: 300px;
}

.offcanvas-body {
    padding: 0;
}

/* Elegant Close Button - MOVED TO LEFT SIDE */
.mobile-menu-close {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1051;
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #6366f1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-close:hover {
    background: #6366f1;
    color: white;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* User Dropdown - NO OVERLAP NOW */
.mobile-user-dropdown {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    margin: 0;
    padding-top: 1rem;
}

.mobile-user-header {
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1050;
}

.mobile-user-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-user-avatar {
    font-size: 2rem;
}

.mobile-user-arrow {
    transition: transform 0.3s ease;
}

.mobile-user-header[aria-expanded="true"] .mobile-user-arrow {
    transform: rotate(180deg);
}

.mobile-user-header h6 {
    color: white;
    margin: 0;
}

.mobile-user-header .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* User Menu Collapse */
.mobile-user-collapse {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-user-menu {
    padding: 0.5rem 0;
}

.mobile-menu-item {
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: white;
}

.mobile-menu-item i {
    width: 20px;
    text-align: center;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 1rem;
}

/* Logout Item - FIXED VISIBILITY */
.logout-item {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ff6b6b !important;
    font-weight: 600;
    border-left: 3px solid #ff6b6b !important;
}

.logout-item:hover {
    background: rgba(255, 107, 107, 0.2) !important;
    color: #ff5252 !important;
}

/* Login Prompt */
.mobile-login-prompt {
    background: linear-gradient(135deg, #f8f9ff, #eef2ff);
    padding: 1.5rem 1rem;
    text-align: center;
    margin-top: 1rem;
}

/* Mobile Navigation Links */
.mobile-nav-links {
    padding: 1rem 0;
}

.mobile-nav-links .nav-item {
    margin: 0;
}

.mobile-nav-links .nav-link {
    padding: 0.8rem 1rem;
    border-radius: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #374151 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
    color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid #6366f1;
}

.mobile-nav-links .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* Registration Section */
.mobile-registration-section {
    background: #fafafa;
}

.btn-xs {
    padding: 0.4rem 0.3rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

.btn-xs i {
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to offcanvas */
.mobile-navbar.offcanvas.showing {
    animation: slideInRight 0.3s ease-out;
}

.mobile-nav-links .nav-link {
    animation: fadeInUp 0.4s ease-out both;
}

/* Stagger animations for menu items */
.mobile-nav-links .nav-item:nth-child(1) .nav-link {
    animation-delay: 0.1s;
}

.mobile-nav-links .nav-item:nth-child(2) .nav-link {
    animation-delay: 0.15s;
}

.mobile-nav-links .nav-item:nth-child(3) .nav-link {
    animation-delay: 0.2s;
}

.mobile-nav-links .nav-item:nth-child(4) .nav-link {
    animation-delay: 0.25s;
}

.mobile-nav-links .nav-item:nth-child(5) .nav-link {
    animation-delay: 0.3s;
}

/* Compact Auth Modal Styles */
.auth-modal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.auth-modal-header {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    padding: 1.5rem 1rem 1rem;
    min-height: 80px;
}

.auth-modal-illustration {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.auth-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6366f1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.auth-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 3;
}

.auth-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.auth-modal-body {
    padding: 1.5rem 1.25rem;
}

.auth-modal-title h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-section {
    margin-bottom: 1rem;
}

.auth-btn {
    position: relative;
    border: none;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    overflow: hidden;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    color: white;
    text-decoration: none;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 1rem;
}

.btn-text {
    font-size: 0.85rem;
}

.btn-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.auth-btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.divider-text {
    padding: 0 0.75rem;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.register-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: white;
}

.register-option:hover {
    text-decoration: none;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.option-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.student-option .option-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.studio-option .option-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.maker-option .option-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.register-option:hover .option-icon {
    transform: scale(1.05);
}

.option-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.auth-modal-footer {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
}

/* Hide desktop elements on mobile */
@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }

    .desktop-badge,
    .desktop-user-menu,
    .desktop-login-btn {
        display: none !important;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 992px) {
    .mobile-badge {
        display: none !important;
    }

    .mobile-navbar {
        display: none !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-navbar.offcanvas {
        width: 280px;
    }

    .mobile-menu-close {
        top: 0.75rem;
        left: 0.75rem;
        width: 35px;
        height: 35px;
    }

    .mobile-user-header {
        padding: 1.25rem 0.75rem;
    }

    .mobile-user-avatar {
        font-size: 1.75rem;
    }

    .mobile-nav-links .nav-link {
        padding: 0.7rem 0.75rem;
        font-size: 0.85rem;
    }

    .mobile-menu-item {
        padding: 0.7rem 0.75rem 0.7rem 2rem;
    }

    /* Auth Modal Mobile Adjustments */
    .auth-modal-header {
        padding: 1.25rem 0.75rem 0.75rem;
        min-height: 70px;
    }

    .auth-modal-illustration {
        width: 50px;
        height: 50px;
    }

    .auth-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .auth-modal-body {
        padding: 1.25rem 1rem;
    }

    .auth-btn {
        padding: 0.75rem 1rem;
    }

    .register-option {
        padding: 0.625rem 0.75rem;
    }

    .option-icon {
        width: 28px;
        height: 28px;
        margin-right: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .mobile-navbar.offcanvas {
        width: 100%;
    }
}

/* Scoped styles to avoid conflicts */
.edit-post-container {
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.edit-post-container .card {
    border-radius: 12px;
}

.edit-post-container .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.edit-post-container .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.1);
}

.edit-post-container .form-control-sm {
    padding: 0.5rem 0.75rem;
}

.edit-post-container .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edit-post-container .btn-primary {
    background: #6366f1;
    border-color: #6366f1;
    padding: 0.75rem 1.5rem;
}

.edit-post-container .btn-primary:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-2px);
}

.edit-post-container .btn-outline-secondary {
    padding: 0.75rem 1.5rem;
}

.edit-post-container .btn-outline-secondary:hover {
    transform: translateY(-2px);
}

.delete-photo-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.delete-photo-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.formset-item {
    border-left: 3px solid #6366f1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.formset-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.formset-item:hover .delete-photo-btn {
    opacity: 1;
}

.current-photo img {
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    max-width: 100%;
    /* Ensure images don't overflow */
}

.current-photo img:hover {
    border-color: #6366f1;
    transform: scale(1.02);
}

/* Delete animation - Fixed to prevent horizontal scroll */
.photo-item.deleting {
    animation: fadeOutUp 0.5s ease forwards;
    pointer-events: none;
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        max-height: 500px;
        margin-bottom: 1rem;
    }

    50% {
        opacity: 0.5;
        transform: translateY(-10px) scale(0.95);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        max-height: 0;
        margin-bottom: 0;
        padding: 0;
        border: none;
    }
}

/* Shake animation for delete button hover */
.delete-photo-btn:hover i {
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Styled state for deleted items */
.formset-item.marked-for-delete {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    opacity: 0.7;
}

.formset-item.marked-for-delete .current-photo-img {
    filter: grayscale(100%) brightness(0.8);
}

.file-input-wrapper {
    position: relative;
}

.file-input-custom {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-custom-display {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-input-wrapper:hover .file-input-custom-display {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

/* Ensure no horizontal overflow */
.row.g-3 {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-6,
.col-md-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .edit-post-container .container.py-4 {
        padding: 1rem !important;
    }

    .edit-post-container h1.mx-4 {
        font-size: 1.5rem !important;
    }

    .edit-post-container .card-body {
        padding: 1.5rem !important;
    }

    .edit-post-container .col-lg-6,
    .edit-post-container .col-md-6 {
        width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .edit-post-container .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .edit-post-container .d-flex.justify-content-between .btn {
        width: 100%;
        text-align: center;
    }

    .current-photo img {
        max-height: 150px !important;
    }

    .delete-photo-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .edit-post-container h1.mx-4 {
        font-size: 1.3rem !important;
        margin: 0 1rem !important;
    }

    .edit-post-container .card-body {
        padding: 1rem !important;
    }

    .edit-post-container .form-control {
        padding: 0.6rem 0.75rem;
    }

    .edit-post-container .btn {
        padding: 0.6rem 1rem;
    }

    .current-photo img {
        max-height: 120px !important;
    }

    .row.g-3 {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .col-lg-6,
    .col-md-6 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* Container Styles */
.po-delete-container {
    min-height: 80vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.po-delete-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    width: 100%;
    max-width: 520px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    backdrop-filter: blur(10px);
}

.po-delete-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c, #ef4444);
    background-size: 200% 100%;
    animation: po-delete-shimmer 3s ease-in-out infinite;
}

@keyframes po-delete-shimmer {

    0%,
    100% {
        background-position: -200% 0;
    }

    50% {
        background-position: 200% 0;
    }
}

/* Header Styles */
.po-delete-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.po-delete-warning-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    animation: po-delete-pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    border: 4px solid #fef2f2;
}

@keyframes po-delete-pulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 40px rgba(239, 68, 68, 0.5);
    }
}

.po-delete-title {
    color: #1f2937;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.po-delete-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Content Styles */
.po-delete-content {
    margin-bottom: 2.5rem;
}

.po-delete-item-preview {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px dashed #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.po-delete-item-preview:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.po-delete-item-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.po-delete-item-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 1rem 0 1.5rem 0;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.po-delete-item-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.po-delete-image {
    max-width: 100%;
    max-height: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
}

.po-delete-item-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    font-style: italic;
}

.po-delete-warning-message {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fecaca;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(254, 202, 202, 0.3);
}

.po-delete-info-icon {
    color: #dc2626;
    font-size: 1.4rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    animation: po-delete-bounce 2s ease-in-out infinite;
}

@keyframes po-delete-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

.po-delete-warning-message div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.po-delete-warning-message strong {
    color: #dc2626;
    font-size: 1rem;
    font-weight: 700;
}

.po-delete-warning-message span {
    color: #b91c1c;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Action Styles */
.po-delete-actions {
    text-align: center;
}

.po-delete-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.po-delete-btn {
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.po-delete-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.po-delete-btn:hover::before {
    left: 100%;
}

.po-delete-btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.po-delete-btn-danger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.6);
    color: white;
    text-decoration: none;
}

.po-delete-btn-secondary {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #475569;
    border: 2px solid #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.po-delete-btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    color: #475569;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border-color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 576px) {
    .po-delete-container {
        padding: 1rem;
        min-height: 100vh;
    }

    .po-delete-card {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .po-delete-title {
        font-size: 1.6rem;
    }

    .po-delete-warning-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .po-delete-item-preview {
        padding: 1.5rem;
    }

    .po-delete-item-title {
        font-size: 1.2rem;
    }

    .po-delete-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .po-delete-card {
        padding: 2rem 1.25rem;
    }

    .po-delete-title {
        font-size: 1.4rem;
    }

    .po-delete-subtitle {
        font-size: 1rem;
    }

    .po-delete-item-preview {
        padding: 1.25rem;
    }

    .po-delete-warning-message {
        padding: 1.25rem;
    }

    .po-delete-warning-message span {
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1f36 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
}

.footer-main {
    position: relative;
    z-index: 2;
}

/* Footer Text Styling */
.footer-heading {
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-subheading {
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Contact Information */
.contact-title,
.social-title {
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.contact-item {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text {
    flex-grow: 1;
}

.contact-text a:hover {
    color: #6366f1 !important;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
    transition: left 0.5s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    color: white;
}

.social-link:hover::before {
    left: 100%;
}

.social-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Footer Actions */
.footer-actions {
    margin-top: 1rem;
}

.footer-actions .btn {
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Go to Top Button */
.go-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.go-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.go-to-top-btn:active {
    transform: translateY(0);
}

/* Footer Background Pattern */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    z-index: 1;
}

/* Copyright Text */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand,
.footer-contact,
.footer-social {
    animation: fadeInUp 0.8s ease-out;
}

.footer-contact {
    animation-delay: 0.2s;
}

.footer-social {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-heading {
        font-size: 1.5rem;
    }

    .footer-subheading {
        font-size: 1rem;
    }

    .contact-title,
    .social-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .footer-heading {
        font-size: 1.4rem;
    }

    .footer-subheading {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    .go-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }

    .contact-item {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-heading {
        font-size: 1.3rem;
    }

    .footer-subheading {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .go-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }

    .footer-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer-actions .btn.me-2 {
        margin-right: 0 !important;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}