* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.udal {
    display: block;
    width: 100%;
    height: auto;
    max-width: 136px;
}

/* Header */
.header {
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 100%;
    max-width: 142px;
    margin: 0 auto;
    display: block;
    height: auto;
}

.flag-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #1565C0, #1976D2);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-work {
    font-weight: 700;
    font-size: 18px;
    color: #1565C0;
}

.logo-online {
    font-weight: 700;
    font-size: 18px;
    color: #f44336;
}

/* Hero Section */
.hero {
    padding: 30px 20px;
    text-align: center;
}

.hero-image {
    margin-bottom: 25px;
}

.hero-image img {
    width: 100%;
    max-width: 335px;
    display: block;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.cta-button {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

/* Jobs Section */
.jobs-section {
    padding: 0 20px 30px;
    flex: 1;
}

.jobs-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.job-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.job-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.job-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1565C0;
}

.remote-tag {
    color: #f44336;
    font-weight: 600;
    font-size: 16px;
}

.salary {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.job-section {
    margin-bottom: 20px;
}

.job-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.job-section ul {
    list-style: none;
    padding-left: 0;
}

.job-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.job-section li:before {
    content: "•";
    color: #1565C0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.details-button {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.details-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 101, 192, 0.3);
}

/* Job Detail Pages */
.job-detail {
    padding: 30px 20px;
    flex: 1;
}

.job-image {
    margin-bottom: 25px;
    text-align: center;
}

.job-image img {
    width: 100%;
    max-width: 335px;
    display: block;
    margin: 0 auto;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

.job-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.job-detail-card h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1565C0;
    margin-bottom: 10px;
}

.job-intro {
    margin: 20px 0;
}

.highlight-text {
    color: #f44336;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.job-sections .job-section {
    margin-bottom: 25px;
}

.job-sections h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.job-final-note {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Form Styles */
.form-section {
    padding: 30px 20px;
    flex: 1;
}

.form-container {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.form-container h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 16px;
    text-align: start;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1565C0;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.select-container {
    position: relative;
}

/* .select-container::after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
} */

.phone-input {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: #f8f9fa;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input:focus-within {
    border-color: #1565C0;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.phone-prefix {
    padding: 16px;
    background-color: #e3f2fd;
    color: #1565C0;
    font-weight: 600;
    border-right: 1px solid #e0e0e0;
    white-space: nowrap;
}

.phone-input input {
    border: none;
    background: transparent;
    margin: 0;
    padding: 16px;
    flex: 1;
}

.phone-input input:focus {
    outline: none;
    box-shadow: none;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.submit-button {
    background: linear-gradient(135deg, #1565C0, #1976D2);
    color: white;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Page */
.success-section {
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-image {
    margin-bottom: 30px;
}

.success-image img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

.success-content h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.success-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-text p strong {
    color: #1565C0;
    font-weight: 700;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .jobs-section h2 {
        font-size: 26px;
    }
    
    .job-card {
        padding: 35px;
    }
    
    .form-container {
        padding: 40px 35px;
    }
    
    .form-container h1 {
        font-size: 26px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }
    
    .hero {
        padding: 50px 20px;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .job-image img {
        height: 250px;
    }
    
    .success-image img {
        height: 220px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card,
.job-detail-card,
.form-container {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid #1565C0;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading .submit-button {
    background: #ccc;
    cursor: not-allowed;
}