﻿/* Content/css/job-application.css - Modern Premium Version (Pattern Removed) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #e6f2ff;
    --secondary-color: #f8fafc;
    --accent-color: #00d4ff;
    --accent-dark: #00a8cc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --error-light: #fee2e2;
    --border-radius: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #1a7f8f 50%, #118ab4 75%, #0a9fd8 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
}

    /* Premium gradient background - NO PATTERN */
    body::before {
        display: none;
    }

.app-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 40px;
    position: relative;
    z-index: 1;
}

/* Header Section */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 40px 45px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        opacity: 0;
        animation: slideInDown 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    }

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.company-info {
    text-align: center;
}

    .company-info h1 {
        color: var(--primary-color);
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
        animation: fadeInUp 0.8s ease-out 0.1s both;
    }

    .company-info p {
        color: var(--text-secondary);
        font-size: 1.05rem;
        font-weight: 500;
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 0.9rem;
}

.contact-item {
    background: linear-gradient(135deg, var(--primary-light), rgba(230, 242, 255, 0.5));
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out both;
}

    .contact-item:nth-child(1) {
        animation-delay: 0.3s;
    }

    .contact-item:nth-child(2) {
        animation-delay: 0.4s;
    }

    .contact-item:hover {
        border-color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
        transform: translateY(-2px);
    }

    .contact-item h4 {
        color: var(--primary-color);
        margin-bottom: 4px;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .contact-item p {
        color: var(--text-primary);
        font-weight: 500;
    }

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 1200px;
    margin: 0 auto;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 45px 45px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .form-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: pulse-glow 6s ease-in-out infinite;
    }

    .form-header h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        font-weight: 900;
        letter-spacing: -0.5px;
        position: relative;
        z-index: 1;
    }

    .form-header p {
        opacity: 0.95;
        font-size: 1.05rem;
        font-weight: 500;
        position: relative;
        z-index: 1;
    }

/* Progress Container */
.progress-container {
    background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(248, 250, 252, 0.5) 100%);
    padding: 30px 45px;
    border-bottom: 1px solid #e2e8f0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    transition: var(--transition);
}

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px;
        left: 60%;
        right: -30%;
        height: 3px;
        background: #e2e8f0;
        z-index: 1;
        transition: var(--transition);
        animation: fadeIn 0.6s ease-out forwards;
    }

    .step.active:not(:last-child)::after,
    .step.completed:not(:last-child)::after {
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    }

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    margin-bottom: 10px;
    border: 2px solid #e2e8f0;
    font-size: 0.9rem;
}

.step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(0, 102, 255, 0.15), 0 4px 16px rgba(0, 102, 255, 0.3);
    border-color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.step.completed .step-circle {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step.completed .step-label {
    color: var(--success-color);
    font-weight: 700;
}

/* Form Content */
.form-content {
    padding: 45px;
    animation: fadeIn 0.6s ease-out;
}

.form-section {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

    .form-section.active {
        display: block;
    }

.section-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

    .section-title::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 32px;
        background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
        border-radius: 2px;
        animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.form-section.active .form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-section.active .form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-section.active .form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-section.active .form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-section.active .form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

    .form-label span {
        color: var(--error-color);
        margin-left: 4px;
    }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: var(--transition);
    background: #ffffff;
    font-family: inherit;
}

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: var(--text-light);
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1), 0 4px 12px rgba(0, 102, 255, 0.2);
        transform: translateY(-2px);
    }

    .form-input:hover,
    .form-select:hover,
    .form-textarea:hover {
        border-color: rgba(0, 102, 255, 0.5);
    }

    /* Input mask untuk phone */
    .form-input[name*="gsm"],
    .form-input[name*="evTelefonu"],
    .form-input[name*="refTel"] {
        font-family: 'Courier New', monospace;
        letter-spacing: 0.05em;
    }

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Upload */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    grid-column: 1 / -1;
}

.file-upload-input {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    border: 3px dashed #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary-color), rgba(248, 250, 252, 0.5));
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    flex-direction: column;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

    .file-upload-label:hover {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, var(--primary-light), rgba(230, 242, 255, 0.5));
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 102, 255, 0.15);
    }

    .file-upload-label i {
        font-size: 2rem;
        color: var(--primary-color);
        transition: var(--transition);
    }

    .file-upload-label:hover i {
        transform: scale(1.1);
    }

    .file-upload-label span {
        font-weight: 600;
        color: var(--text-primary);
    }

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--secondary-color), rgba(248, 250, 252, 0.5));
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

    .checkbox-group:hover {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, var(--primary-light), rgba(230, 242, 255, 0.3));
        box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
    }

.checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

    .checkbox:hover {
        transform: scale(1.1);
    }

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    gap: 15px;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.4s ease;
        z-index: -1;
    }

    .btn:hover::before {
        left: 100%;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 102, 255, 0.4);
    }

    .btn-primary:active {
        transform: translateY(-1px);
    }

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-primary);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

    .btn-secondary:hover {
        background: #e2e8f0;
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

    .btn-success:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
    }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message {
    background: var(--success-light);
    border: 2px solid var(--success-color);
    color: var(--success-color);
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Table */
.table-container {
    overflow-x: auto;
    margin: 24px 0;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

    .form-table th {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        padding: 16px;
        text-align: left;
        font-weight: 700;
        color: white;
        border-bottom: 2px solid var(--primary-color);
        letter-spacing: 0.3px;
    }

    .form-table td {
        padding: 16px;
        border-bottom: 1px solid #e2e8f0;
        transition: var(--transition);
    }

    .form-table tbody tr:hover {
        background: var(--secondary-color);
    }

    .form-table input,
    .form-table select {
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        padding: 10px 12px;
        width: 100%;
        transition: var(--transition);
        font-family: inherit;
    }

        .form-table input:focus,
        .form-table select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
        }

/* Notifications */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    overflow: hidden;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-info {
    border-left: 5px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), transparent);
}

.notification-error {
    border-left: 5px solid var(--error-color);
    background: linear-gradient(135deg, var(--error-light), transparent);
}

.notification-success {
    border-left: 5px solid var(--success-color);
    background: linear-gradient(135deg, var(--success-light), transparent);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

    .notification-content i {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

.notification-info .notification-content i {
    color: var(--primary-color);
}

.notification-error .notification-content i {
    color: var(--error-color);
}

.notification-success .notification-content i {
    color: var(--success-color);
}

.notification-content span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
    margin-right: 4px;
}

    .notification-close:hover {
        background-color: #f1f5f9;
        color: var(--text-primary);
    }

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, -50px);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        padding: 20px;
    }

    .header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .logo {
        width: 80px;
        height: 80px;
        font-size: 24px;
        margin: 0 auto;
    }

    .company-info h1 {
        font-size: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .form-content {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .progress-steps {
        overflow-x: auto;
        padding: 15px 0;
        gap: 5px;
    }

    .step {
        min-width: 70px;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .notification {
        top: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .header-content {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 15px;
    }

    .header {
        padding: 20px 15px;
    }

    .company-info h1 {
        font-size: 1.6rem;
    }

    .company-info p {
        font-size: 0.9rem;
    }

    .form-content {
        padding: 15px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .progress-container {
        padding: 20px 15px;
    }

    .section-title {
        font-size: 1.2rem;
    }
}
