/* Hero Section with Background */
.karir-hero-section {
    background: linear-gradient(90deg, #0c4e45 0%, #0a4940 100%);
    padding: 100px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.karir-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.karir-hero-content {
    padding: 30px 0 0 0;
    flex: 1;
}

.karir-hero-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-align: left;
}

.karir-hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: left;
}

.karir-hero-visual {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.karir-hero-image {
    width: 420px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
    .karir-hero-wrapper {
        flex-direction: column;
        text-align: left;
    }

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

    .karir-hero-visual {
        display: none;
    }
}

/* Main Content Area */
.magang-content-area {
    background: #08322c;
    padding: 60px 0 80px;
}

/* Tab Styles */
.magang-tabs-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.magang-tabs-wrapper p {
    color: white;
    text-align: center;
}

.magang-tabs {
    display: inline-flex;
    gap: 10px;
    background: #0c4e45;
    border: 2px solid #0d5d56;
    border-radius: 50px;
    padding: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(13, 93, 86, 0.1);
}

.magang-tab {
    flex: 1;
    border: none;
    border-right: 1px solid #0d5d56;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    color: white;
    padding: 0 10px;
    white-space: nowrap;
    position: relative;
}

.magang-tab:last-child {
    border-right: none;
}

.magang-tab.active {
    background: #08322c;
    padding: 12px;
    border-radius: 50px;
    color: white;
}

.magang-tab:hover:not(.active) {
    background: rgba(13, 93, 86, 0.05);
}

.nice-select .option {
    color: black;
}

.nice-select .option.selected {
    font-weight: normal;
}

/* Form Container */
.magang-form-container {
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(13, 93, 86, 0.2);
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.magang-form-title {
    color: #ff6b6b;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.magang-form-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 15px;
}

/* Section Headings */
.magang-section-title {
    color: #00cba9;
    font-size: 18px;
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 6px;
}

.magang-section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
}

.magang-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 24px 0;
}

/* Form Group */
.form-group-magang {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group-magang label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: white;
    margin-bottom: 8px;
}

.form-group-magang input,
.form-group-magang select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group-magang input:focus,
.form-group-magang select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
}

.form-group-magang input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.form-group-magang input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Select */
.form-group-magang .magang-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 20;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group-magang .magang-select:invalid {
    color: rgba(255, 255, 255, 0.55);
}

/* Upload */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 45px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 56px;
    margin-bottom: 15px;
    display: block;
}

.upload-text {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.upload-text span {
    color: #00cba9;
    text-decoration: underline;
    font-weight: 600;
}

.upload-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.file-name-display {
    display: block;
    margin-top: 15px;
    color: #00cba9;
    font-weight: 600;
    font-size: 14px;
}

/* Submit Button */
.btn-submit-magang {
    background: #00cba9;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 203, 169, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-submit-magang:hover {
    background: #00b396;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 203, 169, 0.4);
}

/* Tabs Content */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.magang-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

/* Alerts */
.alert-success-custom {
    background: linear-gradient(135deg, #00cba9 0%, #00b396 100%);
    color: white;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 203, 169, 0.2);
}

.alert-danger-custom {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

@media (max-width: 768px) {
    .magang-hero-title {
        font-size: 32px;
    }
    .magang-hero-description {
        font-size: 14px;
    }
    .magang-form-container {
        padding: 35px 20px;
    }
    .magang-tab {
        padding: 14px 20px;
        font-size: 13px;
    }
    .form-group-magang input,
    .form-group-magang select {
        padding: 12px 15px;
    }
}

@media (min-width: 1024px) {
    .karir-hero-content {
        max-width: 750px;
    }
}

@media (min-width: 1280px) {
    .karir-hero-content {
        max-width: 850px;
    }
}

@media (max-width: 992px) {
    .karir-hero-section {
        padding: 80px 46px 40px 46px;
    }

    .karir-hero-content {
        padding-top: 10px;
    }

    .karir-hero-description {
        max-width: 720px;
    }
}

/* Responsive */
@media (max-width: 767.9px) {
    .karir-hero-section {
        padding: 70px 30px 30px 30px;
    }

    .karir-hero-title {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .karir-hero-description {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .karir-content-area {
        padding: 45px 0 70px;
    }
}

@media (min-width: 1200px) {
    .karir-hero-description {
        max-width: 920px;
    }
}
