body.landing-page {
    background:
        radial-gradient(circle at top left, #8c83ff 0%, #6f63ff 28%, #5f4ef6 55%, #4b39db 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.sakinah-landing {
    min-height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

.sakinah-panel {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.20);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.sakinah-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 740px;
}

.sakinah-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 48px;
}

.sakinah-copy {
    max-width: 560px;
    color: #ffffff;
    margin: 0 auto;
    text-align: center;
}

.sakinah-badge {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.sakinah-brand-logo {
    margin-bottom: 22px;
}

.sakinah-brand-logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}

.sakinah-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 14px;
}

.sakinah-subtitle {
    font-size: 1.3rem;
    line-height: 1.55;
    color: #ece9ff;
    font-weight: 700;
    margin-bottom: 18px;
    max-width: 520px;
}

.sakinah-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 30px;
    max-width: 540px;
}

.sakinah-features {
    display: grid;
    gap: 14px;
}

.sakinah-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 600;
}

.sakinah-feature i {
    color: #ffffff;
    font-size: 1.05rem;
}

.sakinah-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 30px;
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(18, 18, 27, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-top {
    background: linear-gradient(135deg, #5446ee 0%, #6a3ff2 45%, #843ef5 100%);
    color: #ffffff;
    padding: 30px 28px 26px;
    text-align: center;
}

.auth-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0.95;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}

.auth-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #f4f4fb;
    border-bottom: 1px solid #e8e8f2;
}

.auth-tab {
    border: 0;
    background: transparent;
    color: #667085;
    font-weight: 700;
    padding: 18px 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: 0.2s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab i {
    font-size: 1.25rem;
}

.auth-tab.is-active {
    background: #ffffff;
    color: #5a49ef;
    border-bottom-color: #5a49ef;
}

.auth-content {
    display: none;
    padding: 28px;
}

.auth-content.is-active {
    display: block;
}

.auth-form {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.form-group-custom {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 360px;
}

.form-label-custom {
    font-weight: 700;
    color: #344054;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label-custom i {
    color: #667085;
}

.form-control-custom {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #d8dbe7;
    padding: 12px 16px;
    font-size: 1rem;
    background: #ffffff;
}

.form-control-custom:focus {
    border-color: #6a4df5;
    box-shadow: 0 0 0 0.2rem rgba(106, 77, 245, 0.14);
}

.login-role-group {
    width: 100%;
    max-width: 360px;
}

.login-role-label {
    display: block;
    font-weight: 800;
    color: #344054;
    margin-bottom: 12px;
}

.login-role-options {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.login-role-option {
    width: 100%;
    position: relative;
}

.login-role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login-role-card {
    width: 100%;
    min-height: 96px;
    border: 2px solid #e4e7ec;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: #101828;
    cursor: pointer;
    transition: 0.2s ease;
    background: #ffffff;
    padding: 12px;
    text-align: center;
}

.login-role-card i {
    font-size: 1.45rem;
}

.login-role-option input:checked + .login-role-card {
    border-color: #5a49ef;
    color: #5a49ef;
    background: #f7f5ff;
    box-shadow: 0 8px 20px rgba(90, 73, 239, 0.12);
}

.btn-auth-primary {
    min-height: 52px;
    width: 100%;
    max-width: 390px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(90deg, #5446ee 0%, #7c3ff2 100%);
    box-shadow: 0 14px 26px rgba(92, 72, 239, 0.24);
}

.btn-auth-primary:hover {
    color: #ffffff;
    opacity: 0.97;
}

.auth-helper-link {
    color: #5a49ef;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.auth-helper-link:hover {
    text-decoration: underline;
}

.auth-footer-link {
    text-align: center;
    margin-top: 6px;
}

@media (max-width: 991.98px) {
    .sakinah-grid {
        grid-template-columns: 1fr;
    }

    .sakinah-left,
    .sakinah-right {
        padding: 32px 24px;
    }

    .sakinah-copy {
        text-align: center;
    }

    .sakinah-feature {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .sakinah-landing {
        padding: 12px;
    }

    .sakinah-brand-logo-image {
        width: 110px;
        height: 110px;
    }

    .sakinah-panel {
        border-radius: 20px;
    }

    .auth-box {
        border-radius: 20px;
    }

    .auth-top,
    .auth-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-tabs {
        grid-template-columns: 1fr;
    }

    .login-role-options {
        grid-template-columns: 1fr;
    }

    .sakinah-title {
        font-size: 2.5rem;
    }

    .sakinah-subtitle {
        font-size: 1.05rem;
    }

    .login-role-options-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table td, .table th {
        vertical-align: middle !important;
    }

    .badge {
        display: inline-block;
        line-height: 1.2;
    }
    
}