/* Internships Page CSS */
.internships-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 25px;
}

.internships-header {
    margin-bottom: 30px;
}

.internships-header h1 {
    color: #042a47;
    font-size: 32px;
    margin-bottom: 10px;
}

.internships-header p {
    color: #555;
    font-size: 16px;
    max-width: 800px;
}

.filter-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 40px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.filter-group.keyword {
    flex: 2;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.filter-group input, .filter-group select {
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    background: #f8fafc;
}

.btn-filter {
    background: #0056b3;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.internships-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

/* Left List */
.internships-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.internship-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.internship-card:hover, .internship-card.active {
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0,86,179,0.08);
}

.company-logo {
    width: 45px;
    height: 45px;
    background: #e0f2fe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0056b3;
    font-size: 14px;
    flex-shrink: 0;
}

.internship-info {
    flex: 1;
}

.internship-title {
    color: #042a47;
    font-size: 16px;
    margin-bottom: 5px;
}

.internship-company {
    color: #0056b3;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.internship-industry {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.tech-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.internship-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.bookmark {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #cbd5e1;
    font-size: 18px;
}
.internship-card.active .bookmark {
    color: #0056b3;
}

/* Right Details */
.internship-details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.details-hero {
    height: 200px;
    background: #e2e8f0;
    position: relative;
}

.details-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-company-logo {
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-content {
    padding: 40px 30px 30px;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.details-title h2 {
    color: #042a47;
    font-size: 24px;
    margin-bottom: 5px;
}

.details-title p {
    color: #0056b3;
    font-weight: 600;
    font-size: 15px;
}

.details-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    background: white;
    border: 1px solid #0056b3;
    color: #0056b3;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-apply {
    background: #e85d04;
    border: 1px solid #e85d04;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-value {
    color: #042a47;
    font-size: 15px;
    font-weight: 700;
}

.details-section {
    margin-bottom: 25px;
}

.details-section h3 {
    color: #042a47;
    font-size: 18px;
    margin-bottom: 12px;
}

.details-section p {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.responsibilities-list {
    list-style: none;
}

.responsibilities-list li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.responsibilities-list li::before {
    content: "✓";
    color: #0056b3;
    font-weight: bold;
    background: #e6f0fa;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.process-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.process-step {
    border: 1px solid #cbd5e1;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #475569;
}

.process-arrow {
    color: #94a3b8;
}


@media (max-width: 992px) {
    .internships-layout {
        grid-template-columns: 1fr;
    }
    .filter-bar {
        flex-wrap: wrap;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
