/* New Pages Styles - Landing, Post Detail, User Profile, Job Pages, Settings */

/* ===== LANDING PAGE ===== */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.landing-hero {
    padding: 80px 20px;
    color: white;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.landing-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.landing-subtitle {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0.9;
}

.landing-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.landing-cta {
    display: flex;
    gap: 16px;
}

.landing-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.landing-btn-primary {
    background: white;
    color: #667eea;
}

.landing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.landing-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.landing-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.landing-features {
    padding: 80px 20px;
    background: white;
}

.landing-features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.landing-feature-card {
    text-align: center;
    padding: 32px;
}

.landing-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.landing-feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.landing-feature-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.landing-stats {
    padding: 60px 20px;
    background: #f8f9fa;
}

.landing-stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.landing-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.landing-stat-label {
    font-size: 18px;
    color: #666;
}

/* ===== POST DETAIL PAGE ===== */
.post-detail-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.post-detail-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 24px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f2ef;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.back-button:hover {
    background: #e8e7e3;
}

.comments-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.comments-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.comment-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.comment-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    resize: none;
}

.comment-btn {
    padding: 12px 24px;
    background: #0A66C2;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

.comment-btn:hover {
    background: #004182;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f3f2ef;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0A66C2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.comment-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.comment-time {
    font-size: 12px;
    color: #666;
}

/* ===== USER PROFILE PAGE ===== */
.user-profile-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.user-profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* ===== JOB SEARCH PAGE ===== */
.job-search-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.job-search-filters {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

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

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.filter-input, .filter-select {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

/* ===== SETTINGS PAGES ===== */
.settings-page, .privacy-settings-page, .notification-settings-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.settings-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.settings-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.settings-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.settings-description {
    font-size: 14px;
    color: #666;
}

.settings-section {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.settings-item-info {
    flex: 1;
}

.settings-item-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.settings-item-description {
    font-size: 14px;
    color: #666;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: #0A66C2;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

/* ===== EDIT PROFILE PAGE ===== */
.edit-profile-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.edit-profile-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.edit-profile-page .page-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.edit-profile-page .page-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.edit-profile-page .back-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}

.edit-profile-page .back-btn:hover {
    background: #e0e0e0;
}

.edit-form {
    padding: 32px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0073b1;
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0073b1;
    box-shadow: 0 0 0 3px rgba(0, 115, 177, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: #0073b1;
    color: white;
}

.btn-primary:hover {
    background: #005885;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 177, 0.2);
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .landing-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .landing-title {
        font-size: 36px;
    }

    .landing-subtitle {
        font-size: 24px;
    }

    .landing-cta {
        flex-direction: column;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .edit-profile-page {
        padding: 10px;
    }

    .edit-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* ===== POST JOB BUTTON ===== */
.btn-post-job {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0073b1 0%, #005885 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 115, 177, 0.2);
}

.btn-post-job:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 177, 0.4);
}

/* ===== POST JOB PAGE ===== */
.post-job-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.post-job-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.post-job-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0073b1 0%, #005885 100%);
    color: white;
}

.post-job-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.post-job-header .back-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-job-header .back-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Progress Steps */
.job-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #0073b1;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 115, 177, 0.3);
}

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

.step-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.step.active .step-label {
    color: #0073b1;
    font-weight: 600;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 8px;
    transition: all 0.3s;
}

.step-line.completed {
    background: #28a745;
}

/* Step Content */
.step-content {
    padding: 40px;
    min-height: 400px;
}

.job-form-step h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.step-description {
    color: #666;
    margin-bottom: 32px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Job Preview */
.job-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
}

.preview-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.preview-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.preview-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0073b1;
    margin-bottom: 16px;
}

.preview-item {
    margin-bottom: 12px;
    line-height: 1.6;
}

.preview-item strong {
    color: #333;
    margin-right: 8px;
}

.preview-section p {
    color: #555;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px 40px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

/* Responsive for Post Job */
@media (max-width: 768px) {
    .post-job-page {
        padding: 10px;
    }

    .job-steps {
        padding: 20px 10px;
        overflow-x: auto;
    }

    .step-line {
        width: 40px;
    }

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

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-content {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .step-navigation {
        padding: 20px;
        flex-direction: column-reverse;
    }

    .step-navigation .btn-primary,
    .step-navigation .btn-secondary {
        width: 100%;
    }

    .post-job-header h1 {
        font-size: 20px;
    }
}

