/* Recruit Page Specific Styles */

/* Recruit Hero Section */
.recruit-hero {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    margin-top: 80px;
}

.recruit-hero .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text-box {
    padding: 0px;
    border-radius: 8px;
    animation: slideInLeft 1.2s ease-out;
    min-width: 400px;
    max-width: 600px;
    flex-shrink: 0;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.desktop-title {
    display: block;
}

.mobile-title {
    display: none;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: white;
    opacity: 0.9;
    letter-spacing: 2px;
    margin: 0;
}

.hero-slanted-lines {
    position: relative;
    animation: slideInRight 1.5s ease-out 0.3s both;
}

.slanted-line {
    width: auto;
    height: 250px;
    opacity: 0.8;
    margin-top: -100px;
    margin-left: -250px;
    animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Recruit Content Section */
.recruit-content-section {
    padding: 80px 0;
    background: white;
    min-height: 600px;
}

.recruit-table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.recruit-table thead {
    background: #f8f9fa;
}

.recruit-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.recruit-table td {
    padding: 18px 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

.recruit-table tbody tr:hover {
    background: #f8f9fa;
}

.recruit-table tbody tr:last-child td {
    border-bottom: none;
}

/* Column Widths */
.col-no {
    width: 8%;
}

.col-title {
    width: 40%;
}

.col-date {
    width: 15%;
}

.col-period {
    width: 20%;
}

.col-status {
    width: 12%;
}

.title-cell {
    text-align: left !important;
    padding-left: 20px !important;
}

.title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title-link:hover {
    color: #06B6D4;
}

/* No Data Message */
.no-data {
    padding: 60px 20px !important;
    text-align: center !important;
    color: #999 !important;
    font-size: 16px !important;
    background: #f8f9fa !important;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background: #dcfdf4;
    color: #059669;
}

.status-closed {
    background: #fef2f2;
    color: #dc2626;
}

.status-upcoming {
    background: #fef3c7;
    color: #d97706;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.page-btn.active {
    background: #2E86AB;
    color: white;
    border-color: #2E86AB;
}

/* Responsive Design for Recruit Page */
@media (max-width: 768px) {
    .hero-overlay {
        padding: 0px;
    }

    .hero-content {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }

    .hero-slanted-lines {
        display: none;
    }

    .desktop-title {
        display: none;
    }

    .mobile-title {
        display: block;
    }

    .hero-text-box {
        padding: 0px;
        min-width: 350px;
        max-width: 600px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .recruit-table {
        font-size: 12px;
    }

    .recruit-table th,
    .recruit-table td {
        padding: 12px 8px;
    }

    .title-cell {
        padding-left: 12px !important;
    }

    /* Hide some columns on mobile */
    .col-date,
    .col-period {
        display: none;
    }

    .col-no {
        width: 15%;
    }

    .col-title {
        width: 60%;
    }

    .col-status {
        width: 25%;
    }

    .no-data {
        padding: 40px 15px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {

    .recruit-content-section {
        padding: 40px 0;
    }

    .recruit-table {
        font-size: 11px;
    }

    .recruit-table th,
    .recruit-table td {
        padding: 10px 5px;
    }

    .title-cell {
        padding-left: 8px !important;
    }

    .pagination {
        margin-top: 20px;
    }

    .page-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .no-data {
        padding: 30px 10px !important;
        font-size: 13px !important;
    }
}

/* Table Scroll for Mobile */
@media (max-width: 480px) {
    .recruit-table-container {
        overflow-x: auto;
    }

    .recruit-table {
        min-width: 400px;
    }
}
