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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #374151;
}

.header {
    background: rgba(30, 58, 138, 0.95);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

.logo-icon {
    background: #22c55e;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 0;
    margin-right: 8px;
    font-weight: 900;
    font-size: 18px;
    transform: rotate(45deg);
    display: inline-block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(45deg) scale(1.05);
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link.login {
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link.register {
    background: #4ade80;
    color: white;
    font-weight: 600;
    border: none;
}

.nav-link.register:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.nav-link.job-alert {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.job-alert:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link:not(.register):not(.login):not(.job-alert) {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.nav-link:not(.register):not(.login):not(.job-alert):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.unsubscribe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
}

.unsubscribe-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.card-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 32px 40px 24px 40px;
    text-align: center;
}

.card-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.card-header p {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
}

.card-content {
    padding: 40px;
}

.unsubscribe-form {
    width: 100%;
}

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

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

.input-wrapper {
    position: relative;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.unsubscribe-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.unsubscribe-button:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.unsubscribe-button:active {
    transform: translateY(0);
}

.terms {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
}

.terms a {
    color: #3b82f6;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .unsubscribe-container {
        padding: 10px 15px;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .unsubscribe-card {
        margin: 0;
        max-width: 100%;
        border-radius: 6px;
        width: 100%;
    }

    .card-content {
        padding: 20px 15px;
    }

    .card-header {
        padding: 20px 15px 16px 15px;
    }

    .card-header h2 {
        font-size: 24px;
    }

    .form-group input[type="email"] {
        padding: 14px 40px 14px 16px;
        font-size: 16px;
    }

    .unsubscribe-button {
        padding: 16px;
        font-size: 16px;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 10px 15px;
    }

    .nav-menu {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .unsubscribe-container {
        padding: 5px 10px;
        min-height: calc(100vh - 60px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .unsubscribe-card {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .card-content {
        padding: 16px 12px;
    }

    .card-header {
        padding: 16px 12px 12px 12px;
    }

    .card-header h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }

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

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

    .form-group input[type="email"] {
        padding: 12px 36px 12px 14px;
        font-size: 16px;
    }

    .input-icon {
        right: 14px;
        font-size: 14px;
    }

    .unsubscribe-button {
        padding: 14px;
        font-size: 15px;
        margin-bottom: 20px;
    }

    .disclaimer {
        font-size: 11px;
        line-height: 1.4;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon {
        background: #22c55e;
        color: #ffffff;
        width: 35px;
        height: 35px;
        font-size: 16px;
        padding: 8px 12px;
        border-radius: 0;
        margin-right: 8px;
        font-weight: 900;
        transform: rotate(45deg);
        display: inline-block;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: -1px;
        transition: all 0.3s ease;
    }
}

/* iPhone 14 Pro Max and similar tall devices */
@media (max-width: 430px) and (min-height: 900px) {
    body {
        padding: 0;
        margin: 0;
    }

    .header {
        padding: 0;
    }

    .nav-container {
        padding: 8px 12px;
        gap: 12px;
    }

    .nav-menu {
        gap: 6px;
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .unsubscribe-container {
        padding: 20px 12px;
        min-height: calc(100vh - 100px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .unsubscribe-card {
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    }

    .card-header {
        padding: 20px 16px 16px 16px;
    }

    .card-header h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .card-content {
        padding: 20px 16px;
    }

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

    .form-group input[type="email"] {
        padding: 12px 36px 12px 14px;
        font-size: 16px;
        border-radius: 8px;
    }

    .unsubscribe-button {
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
        margin-bottom: 18px;
    }

    .terms {
        font-size: 12px;
        line-height: 1.5;
        padding: 0 4px;
    }
}

@media (max-width: 320px) {
    .unsubscribe-container {
        padding: 5px 8px;
        min-height: calc(100vh - 50px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-content {
        padding: 12px 10px;
    }

    .card-header {
        padding: 12px 10px 8px 10px;
    }

    .card-header h2 {
        font-size: 20px;
    }

    .form-group input[type="email"] {
        padding: 10px 32px 10px 12px;
        font-size: 16px;
    }

    .nav-container {
        padding: 8px 10px;
    }

    .nav-menu {
        gap: 6px;
    }

    .nav-link {
        padding: 5px 8px;
        font-size: 11px;
    }
}