* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: #f8fafc; color: #334155; }

.engine-header {
    background: #1e3a8a; color: white;
    padding: 15px 30px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.brand-container h2 { font-size: 1.4rem; margin: 0; }
.status-badge { background: #f59e0b; padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 0.85rem; color: #fff; }

.engine-main { padding: 30px; max-width: 900px; margin: 0 auto; }
.engine-card { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.85rem; color: #475569; text-transform: uppercase; }
.form-group select, .form-group input, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; outline: none; transition: border-color 0.3s;
}
.form-group select:focus, .form-group input:focus, .form-group textarea:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

/* Delivery Channel Grid */
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.channel-card {
    display: flex; align-items: center; gap: 10px; padding: 15px; border: 1px solid #cbd5e1;
    border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.2s; background: #f8fafc;
}
.channel-card:hover { border-color: #94a3b8; background: #f1f5f9; }
.channel-card input[type="radio"] { transform: scale(1.2); cursor: pointer; }

.btn-primary {
    background: #2563eb; color: white; border: none; padding: 14px 24px;
    border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; width: 100%; transition: background 0.3s;
}
.btn-primary:hover { background: #1d4ed8; }

.preview-display-area { margin-top: 25px; background: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.notification-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.notification-login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.notification-login-brand {
    text-align: center;
}

.notification-login-brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin-bottom: 12px;
}

.notification-login-brand h1 {
    margin: 0;
    color: #0f172a;
    font-size: 1.45rem;
}

.notification-login-brand p {
    margin-top: 7px;
    color: #64748b;
    font-size: 0.9rem;
}

.notification-login-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 25px 0;
}

.notification-login-field {
    margin-bottom: 18px;
}

.notification-login-field label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 700;
    font-size: 0.85rem;
}

.notification-login-field label i {
    margin-right: 6px;
    color: #2563eb;
}

.notification-login-field input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 1rem;
    outline: none;
    background: #ffffff;
}

.notification-login-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.notification-password-box {
    position: relative;
}

.notification-password-box input {
    padding-right: 48px;
}

.notification-password-box button {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
}

.notification-login-message {
    padding: 11px 13px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.notification-login-button {
    width: 100%;
    border: none;
    border-radius: 9px;
    padding: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.notification-login-button:hover {
    background: #1d4ed8;
}

.notification-login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.notification-login-button span {
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notification-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
}

.notification-back-link:hover {
    color: #2563eb;
}

@media (max-width: 600px) {
    .notification-login-screen {
        padding: 15px;
    }

    .notification-login-card {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .notification-login-brand h1 {
        font-size: 1.25rem;
    }

    .engine-header {
        padding: 12px 15px;
    }

    .engine-header > div:last-child {
        gap: 6px !important;
    }

    #notificationLoggedInUser {
        display: none;
    }

    .status-badge {
        display: none;
    }
}