:root {
    --primary-color: #e31837;
    --secondary-color: #004a9f;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-nav {
    padding: 15px 0;
    background-color: var(--secondary-color);
    border-bottom: none;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box input {
    border: none;
    background: none;
    padding: 8px;
    width: 250px;
    font-size: 14px;
    color: white;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box button {
    background: none;
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-register, .btn-login {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-register {
    background-color: var(--primary-color);
    color: white;
}

.btn-register:hover {
    background-color: #c41329;
}

.btn-login {
    border: 1px solid white;
    color: white;
    background-color: transparent;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav {
    padding: 15px 0;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--primary-color);
}

/* Main Content */
main {
    padding: 30px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.main-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.job-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.job-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

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

.btn-save, .btn-share {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-save i {
    color: var(--primary-color);
}

.company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
}

.company-details h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.job-meta {
    display: flex;
    gap: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary-color);
}

/* Job Content */
.job-content {
    padding: 30px;
}

.job-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.job-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-section h3 i {
    color: var(--primary-color);
}

/* Form Styles */
.application-form {
    background: #fff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.application-form h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
}

.application-form h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Form Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0 20px;
}

.form-navigation button,
.form-actions button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    justify-content: center;
}

.btn-prev {
    background-color: #f0f0f0;
    color: #333;
}

.btn-next {
    background-color: #007bff;
    color: white;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0 20px;
}

.btn-cancel {
    background-color: #dc3545;
    color: white;
}

.btn-submit {
    background-color: #28a745;
    color: white;
}

/* Hover effects */
.btn-prev:hover {
    background-color: #e0e0e0;
}

.btn-next:hover {
    background-color: #0056b3;
}

.btn-cancel:hover {
    background-color: #c82333;
}

.btn-submit:hover {
    background-color: #218838;
}

/* Disabled state */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Icon alignment */
.form-navigation button i,
.form-actions button i {
    font-size: 16px;
}

/* Container for all buttons */
.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 0 20px;
    width: 100%;
}

.button-container button {
    flex: 1;
    max-width: 200px;
}

/* Progress Steps */
.form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.progress-step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #666;
}

.progress-step.active span {
    background-color: #007bff;
    color: white;
}

.progress-step.completed span {
    background-color: #28a745;
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Line between steps */
.form-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #f0f0f0;
    z-index: 0;
}

/* Form sections */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

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

.notification i {
    font-size: 20px;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding-top: 40px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-info h4,
.footer-links h4,
.footer-social h4,
.footer-hotline h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .form-navigation,
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-prev,
    .btn-next,
    .btn-submit,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }

    .form-progress {
        margin: 30px 0;
    }

    .step-label {
        font-size: 11px;
    }

    /* Navigation fixes */
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        text-align: left;
    }

    /* Breadcrumb fixes */
    .breadcrumb {
        padding: 10px 15px;
        font-size: 14px;
        white-space: normal;
        line-height: 1.5;
    }

    .breadcrumb a, .breadcrumb span {
        display: inline;
        word-wrap: break-word;
    }

    /* Job title fixes */
    .job-title {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .job-title h1 {
        font-size: 18px;
        line-height: 1.4;
        word-wrap: break-word;
        margin: 0;
    }

    /* Action buttons fix */
    .job-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .btn-save, .btn-share {
        width: 100%;
        justify-content: center;
        white-space: nowrap;
        padding: 10px;
        font-size: 14px;
    }

    /* Meta information fixes */
    .job-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

    /* Company info fixes */
    .company-info {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .company-details {
        text-align: center;
    }

    .company-details h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    /* Form container fixes */
    .form-container {
        margin: 0;
        padding: 15px;
        border-radius: 0;
    }

    .form-section {
        padding: 15px 0;
    }

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

    /* Input field fixes */
    .form-group input:not([type="radio"]),
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
    }

    /* Radio group fixes */
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .radio-group label {
        padding: 12px;
        border-radius: 6px;
    }

    /* Button container fixes */
    .button-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin: 20px -15px -15px;
    }

    .button-container button {
        width: 100%;
        margin: 0;
        height: 44px;
    }

    /* Progress steps fixes */
    .form-progress {
        padding: 15px;
        margin: -15px -15px 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    background: white;
        border-bottom: 1px solid #eee;
    }

    .progress-step {
        min-width: 70px;
        flex-shrink: 0;
    }

    .step-label {
        font-size: 12px;
        display: none;
    }

    /* Search box fixes */
    .search-box {
        width: 100%;
        margin: 10px 0;
    }

    .search-box input {
        width: 100%;
        height: 40px;
    }

    /* Top navigation fixes */
    .top-nav {
        padding: 10px 0;
    }

    .top-nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 0 10px;
        gap: 10px;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo img {
        height: 30px;
        width: auto;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .search-box {
        position: relative;
        flex: 1;
        min-width: 120px;
        max-width: 200px;
        margin: 0;
    }

    .search-box input {
        width: 100%;
        height: 36px;
        padding: 8px 30px 8px 10px;
        border-radius: 4px;
        font-size: 14px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
    }

    .search-box button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        padding: 5px;
        color: white;
    }

    .auth-buttons {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }

    .btn-register, .btn-login {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: auto;
    }

    /* Breadcrumb fixes */
    .breadcrumb {
        padding: 10px;
        margin: 0;
        background: white;
        border-bottom: 1px solid #eee;
    }

    .breadcrumb .container {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        font-size: 13px;
        line-height: 1.5;
    }

    .breadcrumb a, 
    .breadcrumb span {
        position: relative;
        display: inline-block;
    }

    .breadcrumb a:after {
        content: '/';
        margin: 0 5px;
        color: #999;
    }

    /* Main content fixes */
    .content-wrapper {
        margin-top: 10px;
    }

    .job-title {
        padding: 15px 10px;
    }

    .job-title h1 {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* Company info fixes */
    .company-info {
        padding: 15px 10px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .company-logo {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .company-details {
        flex: 1;
    }

    .company-details h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    /* Navigation toggle */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        margin-left: auto;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-toggle i {
        font-size: 20px;
    }

    /* Main navigation */
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links {
        flex-direction: column;
        padding: 0;
    }

    .nav-links li {
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        padding: 12px 15px;
        display: block;
    }

    /* Fix iOS tap highlight */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .application-form {
        margin: 10px -10px;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    /* Progress Steps */
    .form-progress {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 15px;
        margin: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .form-progress::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 40px;
        right: 40px;
        height: 2px;
        background: #eee;
        transform: translateY(-50%);
    }

    .progress-step {
        position: relative;
        z-index: 1;
        background: #fff;
        padding: 0 5px;
    }

    .progress-step span {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #666;
        font-weight: 500;
        margin: 0 auto 8px;
    }

    .progress-step.active span {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        color: #fff;
        box-shadow: 0 2px 4px rgba(0,74,159,0.2);
    }

    .progress-step.completed span {
        background: var(--success-color);
        border-color: var(--success-color);
        color: #fff;
    }

    /* Form Fields */
    .form-section {
        padding: 20px 15px;
    }

    .form-section h4 {
        font-size: 18px;
        font-weight: 600;
        color: var(--secondary-color);
        margin-bottom: 20px;
    }

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

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

    .form-group label.required:after {
        content: '*';
        color: #dc3545;
        margin-left: 4px;
    }

    /* Input Fields */
    .form-group input:not([type="radio"]),
    .form-group select {
        width: 100%;
        height: 48px;
        padding: 0 15px;
        border: 1px solid #ddd;
    border-radius: 8px;
        font-size: 16px;
        background: #fff;
        color: #333;
    }

    /* Date Input */
    input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        padding-right: 15px !important;
    }

    /* Radio Buttons */
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }

    /* Radio Group Container */
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }

    /* Radio Item Container */
    .radio-item {
        position: relative;
        width: 100%;
    }

    /* Radio Input */
    .radio-item input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    /* Radio Label */
    .radio-item label {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 8px 12px 8px 44px;
        margin: 0;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        font-size: 16px;
        color: #333;
        width: 100%;
        position: relative;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Custom Radio Circle */
    .radio-item label:before {
        content: '';
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        border: 2px solid #ddd;
        border-radius: 50%;
        background: #fff;
        transition: all 0.2s ease;
    }

    /* Radio Selected State */
    .radio-item input[type="radio"]:checked + label:before {
        border-color: var(--secondary-color);
        background: var(--secondary-color);
    }

    /* Radio Inner Dot */
    .radio-item label:after {
        content: '';
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        transition: all 0.2s ease;
    }

    .radio-item input[type="radio"]:checked + label:after {
        transform: translateY(-50%) scale(1);
    }

    /* Hover & Active States */
    .radio-item label:active {
        background: #f8f9fa;
    }

    @media (hover: hover) {
        .radio-item label:hover {
            border-color: var(--secondary-color);
        }
    }

    /* Focus State */
    .radio-item input[type="radio"]:focus + label {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 2px rgba(0,74,159,0.1);
    }

    /* Required State */
    .radio-group.required label:before {
        border-color: #dc3545;
    }

    /* Buttons */
    .button-container {
        padding: 15px;
        background: #f8f9fa;
        border-top: 1px solid #eee;
        margin: 20px -15px -20px;
    }

    .button-container button {
        width: 100%;
        height: 48px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-next {
        background: var(--secondary-color);
        color: #fff;
    }

    .btn-next i {
        margin-left: 4px;
    }

    .btn-cancel {
        background: #dc3545;
        color: #fff;
    }

    .btn-next:active,
    .btn-cancel:active {
        transform: translateY(1px);
    }

    /* Fix iOS Input Zoom */
    @supports (-webkit-overflow-scrolling: touch) {
        input[type="text"],
        input[type="date"],
        input[type="email"],
        input[type="tel"],
        select {
            font-size: 16px !important;
        }
    }

    /* Fix Radio Button Alignment */
    @supports (-webkit-touch-callout: none) {
        .radio-group input[type="radio"] {
            margin: 0;
            top: 50%;
            transform: translateY(-50%);
        }
    }

    /* Notifications */
    .notification {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: #fff;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notification.success {
        border-left: 4px solid var(--success-color);
    }

    .notification.error {
        border-left: 4px solid #dc3545;
    }

    .notification i {
        font-size: 20px;
    }

    .notification.success i {
        color: var(--success-color);
    }

    .notification.error i {
        color: #dc3545;
    }

    /* Content Layout */
    .content-wrapper {
        display: block;
        margin: 0;
        padding: 0;
    }

    .main-content {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }

    /* Add a section at bottom for similar jobs */
    .mobile-similar-jobs {
    margin-top: 20px;
        padding: 15px;
        background: #fff;
        border-top: 1px solid #eee;
    }

    .mobile-similar-jobs h3 {
        font-size: 16px;
        color: var(--secondary-color);
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .mobile-similar-jobs .job-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-similar-jobs .job-item {
        padding: 12px;
        border: 1px solid #eee;
        border-radius: 8px;
        background: #fff;
    }

    .mobile-similar-jobs .job-item h4 {
        font-size: 14px;
        color: var(--secondary-color);
        margin-bottom: 5px;
    }

    .mobile-similar-jobs .job-item p {
        font-size: 13px;
        color: #666;
        margin-bottom: 5px;
    }

    .mobile-similar-jobs .job-item .location {
        font-size: 12px;
        color: #999;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .mobile-similar-jobs .job-item .location i {
        color: var(--primary-color);
        font-size: 12px;
    }
}

/* Tablet Improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .form-container {
        padding: 20px;
    }

    .button-container {
        padding: 20px;
    }

    .widget {
        padding: 20px;
    }
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 20px;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.widget h3 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Company Widget */
.company-widget .company-info-detail {
    text-align: center;
}

.company-widget img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 20px;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.company-widget:hover img {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.company-widget h4 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.company-widget p {
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.company-widget a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.company-widget a:hover {
    color: var(--primary-color);
}

/* Similar Jobs Widget */
.similar-jobs .job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.similar-jobs .job-item {
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.similar-jobs .job-item:hover {
    background: white;
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.similar-jobs .job-item h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.similar-jobs .job-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.similar-jobs .job-item .location {
    color: #888;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.similar-jobs .job-item .location i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .widget {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .widget {
        padding: 20px;
    }
    
    .company-widget img {
        width: 100px;
        height: 100px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Container & Layout */
    .container {
        padding: 0 10px;
        overflow: hidden;
    }

    main {
        padding: 15px 0;
    }

    .content-wrapper {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .main-content {
        border-radius: 0;
        box-shadow: none;
        margin: 0 -10px;
    }

    /* Form Container */
    .form-container {
        padding: 15px;
        border-radius: 0;
        margin: 0 -10px;
        box-shadow: none;
    }

    /* Form Groups */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-group input:not([type="radio"]),
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px !important;
        border-radius: 6px;
        border: 1px solid #ddd;
        background: white;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 2px rgba(0, 74, 159, 0.1);
    }

    /* Radio Groups */
    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .radio-group label {
        margin: 0;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: white;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .radio-group label:active {
        background: #f5f5f5;
    }

    /* Progress Steps */
    .form-progress {
        margin: 0 -10px 20px;
        padding: 15px 10px;
        background: white;
        border-bottom: 1px solid #eee;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .progress-step {
        min-width: 60px;
    }

    .progress-step span {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-width: 2px;
    }

    /* Form Sections */
    .form-section {
        padding: 15px 0;
    }

    .form-section h4 {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    /* File Upload */
    .file-upload {
        padding: 20px;
        border: 2px dashed #ddd;
        border-radius: 6px;
        background: white;
    }

    .upload-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .upload-text {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .file-upload small {
        font-size: 12px;
    }

    /* Buttons */
    .button-container {
        margin: 20px -10px -15px;
        padding: 15px;
        background: #f8f9fa;
        border-top: 1px solid #eee;
    }

    .button-container button {
        height: 44px;
        font-size: 14px;
        border-radius: 6px;
        margin-bottom: 8px;
    }

    /* Job Content */
    .job-header {
        padding: 15px;
        margin: 0 -10px;
    }

    .job-title h1 {
        font-size: 18px;
        line-height: 1.4;
    }

    .company-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .company-logo {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .job-meta {
        flex-direction: column;
        gap: 10px;
    }

    .meta-item {
        justify-content: center;
    }

    /* Job Sections */
    .job-section {
        padding: 15px;
        margin: 0 -10px;
    }

    .job-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .job-section ul {
        padding-left: 15px;
    }

    .job-section li {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    /* Navigation */
    .nav-toggle {
        top: 50%;
        transform: translateY(-50%);
        right: 10px;
        padding: 8px;
    }

    .nav-links {
        top: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links a {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    /* Search Box */
    .search-box {
        margin: 10px 0;
    }

    .search-box input {
        height: 40px;
    }

    /* Auth Buttons */
    .auth-buttons {
        padding: 0;
    }

    .btn-register, .btn-login {
        padding: 10px;
        font-size: 14px;
    }

    /* Notifications */
    .notification {
        margin: 0;
        padding: 12px 15px;
        font-size: 14px;
    }

    .notification i {
        font-size: 18px;
    }

    /* Sidebar */
    .sidebar {
        margin: 20px -10px 0;
    }

    .widget {
        margin: 0 0 15px;
        padding: 15px;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }

    .widget:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }

    .widget h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Footer */
    footer {
        margin-top: 30px;
        padding-top: 30px;
    }

    .footer-content {
        padding: 0 10px 20px;
    }

    .footer-info h4,
    .footer-links h4,
    .footer-social h4,
    .footer-hotline h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-info p,
    .footer-links a {
        font-size: 14px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }

    /* Fix iOS Input Zoom */
    @media screen and (-webkit-min-device-pixel-ratio: 0) { 
        select,
        textarea,
        input[type="text"],
        input[type="tel"],
        input[type="email"],
        input[type="number"] {
            font-size: 16px !important;
        }
    }

    /* Fix Mobile Touch Target Size */
    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Fix Mobile Tap Highlight */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Tablet Improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .form-container {
        padding: 20px;
    }

    .button-container {
        padding: 20px;
    }

    .widget {
        padding: 20px;
    }
} 