
/* =========================================================
   KIP MANAGEMENT SYSTEM
   Modern • Elegant • Responsive
   ========================================================= */


/* =========================================================
   1. ROOT
   ========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;

    --success: #16a34a;
    --success-soft: #f0fdf4;

    --warning: #d97706;
    --warning-soft: #fff7ed;

    --danger: #dc2626;
    --danger-soft: #fef2f2;

    --text: #172033;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --border: #e2e8f0;
    --border-light: #edf2f7;

    --background: #f6f8fc;
    --white: #ffffff;

    --sidebar: #172033;
    --sidebar-hover: #202c43;
    --sidebar-active: #2563eb;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 8px 25px rgba(15, 23, 42, 0.06);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;

    --sidebar-width: 250px;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);

    font-size: 14px;
    line-height: 1.5;

    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}


/* =========================================================
   3. MAIN LAYOUT
   ========================================================= */

.layout {
    min-height: 100vh;
}


/* =========================================================
   4. SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: var(--sidebar-width);

    background: var(--sidebar);

    padding: 26px 16px;

    display: flex;
    flex-direction: column;

    z-index: 1000;

    overflow-y: auto;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 10px 28px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 18px;
}

.logo h2 {
    color: #fff;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.2;
}

.logo span {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 11px;
    font-weight: 400;
}


/* =========================================================
   SIDEBAR MENU
   ========================================================= */

.sidebar nav {
    margin-top: 28px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.sidebar nav a {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 46px;

    padding: 0 14px;

    border-radius: 9px;

    color: #aeb9ca;

    font-size: 13px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.sidebar nav a i {
    width: 19px;

    text-align: center;

    font-size: 15px;
}

.sidebar nav a:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

.sidebar nav a.active {
    background: var(--sidebar-active);
    color: #fff;
}


/* =========================================================
   5. MAIN CONTENT
   ========================================================= */

.main {
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    width: calc(100% - var(--sidebar-width));
}


/* =========================================================
   6. HEADER
   ========================================================= */

.header {
    min-height: 86px;

    background: var(--white);

    border-bottom: 1px solid var(--border);

    padding: 20px 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.header h1 {
    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;

    color: var(--text);
}

.header p {
    margin-top: 4px;

    color: var(--text-secondary);

    font-size: 13px;
}


/* =========================================================
   ADMIN
   ========================================================= */

.admin {
    display: flex;
    align-items: center;

    gap: 10px;
}

.avatar {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
}

.admin strong {
    display: block;

    color: var(--text);

    font-size: 13px;
    font-weight: 600;
}

.admin small {
    display: block;

    margin-top: 1px;

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   7. CONTENT
   ========================================================= */

.content {
    width: 100%;

    padding: 30px 36px 40px;
}


/* =========================================================
   8. STATISTICS
   ========================================================= */

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 24px;
}

.stat {
    min-width: 0;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stat:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow);
}

.stat-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}

.stat-icon.blue {
    background: var(--primary-soft);
    color: var(--primary);
}

.stat-icon.green {
    background: var(--success-soft);
    color: var(--success);
}

.stat-icon.orange {
    background: var(--warning-soft);
    color: var(--warning);
}

.stat span {
    display: block;

    color: var(--text-secondary);

    font-size: 12px;
}

.stat h2 {
    margin-top: 3px;

    color: var(--text);

    font-size: 23px;
    font-weight: 700;

    line-height: 1.2;
}


/* =========================================================
   9. CARD
   ========================================================= */

.card {
    width: 100%;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    overflow: hidden;
}


/* =========================================================
   10. CARD HEADER
   ========================================================= */

.card-header {
    padding: 22px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid var(--border-light);
}

.card-header h2 {
    color: var(--text);

    font-size: 17px;
    font-weight: 700;
}

.card-header p {
    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 12px;
}


/* =========================================================
   11. PRIMARY BUTTON
   ========================================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 0 16px;

    border: 0;
    border-radius: 8px;

    background: var(--primary);

    color: #fff;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-1px);
}

.btn-primary i {
    font-size: 12px;
}


/* =========================================================
   12. SEARCH
   ========================================================= */

.search {
    margin: 18px 24px;

    min-height: 44px;

    display: flex;
    align-items: center;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: #fff;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search:focus-within {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}

.search > i {
    width: 42px;

    flex-shrink: 0;

    text-align: center;

    color: var(--text-muted);

    font-size: 13px;
}

.search input[type="text"] {
    flex: 1;

    min-width: 0;

    height: 42px;

    border: 0;
    outline: 0;

    color: var(--text);

    background: transparent;

    font-size: 13px;
}

.search input::placeholder {
    color: #a0aabd;
}

.search button {
    height: 34px;

    margin-right: 5px;

    padding: 0 17px;

    border: 0;

    border-radius: 6px;

    background: var(--primary);

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    transition: background 0.2s ease;
}

.search button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   13. TABLE
   ========================================================= */

.table-container {
    width: 100%;

    overflow-x: auto;

    border-top: 1px solid var(--border-light);
}

table {
    width: 100%;

    min-width: 900px;

    border-collapse: collapse;

    table-layout: auto;
}

thead {
    background: #f8fafc;
}

th {
    padding: 13px 18px;

    border-bottom: 1px solid var(--border);

    color: #64748b;

    font-size: 11px;
    font-weight: 700;

    text-align: left;

    text-transform: uppercase;

    letter-spacing: 0.02em;

    white-space: nowrap;
}

td {
    padding: 15px 18px;

    border-bottom: 1px solid var(--border-light);

    color: #475569;

    font-size: 13px;

    vertical-align: middle;
}

tbody tr {
    transition: background 0.15s ease;
}

tbody tr:hover {
    background: #fafcff;
}

tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   14. NAMA
   ========================================================= */

.nama {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 190px;
}

.initial {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 8px;

    background: var(--primary-soft);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;
}

.nama strong {
    color: var(--text);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   15. FILE
   ========================================================= */

.file {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    max-width: 190px;

    padding: 6px 9px;

    border-radius: 6px;

    background: #f8fafc;

    color: #475569;

    font-size: 11px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.file i {
    color: var(--primary);

    flex-shrink: 0;
}


/* =========================================================
   16. ACTIONS
   ========================================================= */

.actions {
    display: flex;
    align-items: center;

    gap: 6px;
}

.btn-view,
.btn-delete {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-size: 12px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.btn-view {
    background: var(--primary-soft);

    color: var(--primary);
}

.btn-view:hover {
    background: var(--primary);

    color: #fff;
}

.btn-delete {
    background: var(--danger-soft);

    color: var(--danger);
}

.btn-delete:hover {
    background: var(--danger);

    color: #fff;
}


/* =========================================================
   17. EMPTY DATA
   ========================================================= */

.empty {
    padding: 60px 20px !important;

    text-align: center !important;
}

.empty > i {
    display: block;

    margin-bottom: 14px;

    color: #cbd5e1;

    font-size: 30px;
}

.empty h3 {
    color: var(--text);

    font-size: 15px;
    font-weight: 600;
}

.empty p {
    margin-top: 5px;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   18. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* =========================================================
   19. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1100px) {

    :root {
        --sidebar-width: 220px;
    }

    .header {
        padding: 20px 25px;
    }

    .content {
        padding: 25px;
    }

    .stats {
        gap: 14px;
    }

    .stat {
        padding: 17px;
    }

}


/* =========================================================
   20. RESPONSIVE - SMALL TABLET
   ========================================================= */

@media (max-width: 850px) {

    :root {
        --sidebar-width: 200px;
    }

    .logo {
        padding-left: 6px;
        padding-right: 6px;
    }

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

    .logo span {
        font-size: 10px;
    }

    .sidebar nav a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header {
        padding: 18px 20px;
    }

    .content {
        padding: 20px;
    }

    .stats {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .stat {
        padding: 16px;
    }

    .card-header {
        padding: 18px;
    }

    .search {
        margin: 15px 18px;
    }

    th,
    td {
        padding-left: 14px;
        padding-right: 14px;
    }

}


/* =========================================================
   21. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 650px) {

    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        position: relative;

        width: 100%;

        min-height: auto;

        padding: 15px;

        overflow: visible;
    }

    .logo {
        padding: 0 3px 15px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

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

    .sidebar nav {
        margin-top: 12px;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 6px;
    }

    .sidebar nav a {
        justify-content: center;

        min-height: 42px;

        padding: 0 8px;
    }

    .sidebar nav a i {
        width: auto;
    }

    .main {
        width: 100%;

        margin-left: 0;
    }

    .header {
        min-height: auto;

        padding: 20px 16px;

        align-items: flex-start;

        flex-direction: column;

        gap: 14px;
    }

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

    .admin {
        width: 100%;

        padding-top: 12px;

        border-top: 1px solid var(--border-light);
    }

    .content {
        padding: 16px;
    }

    .stats {
        margin-bottom: 16px;
    }

    .card {
        border-radius: 12px;
    }

    .card-header {
        align-items: flex-start;

        flex-direction: column;

        padding: 17px;
    }

    .card-header .btn-primary {
        width: 100%;
    }

    .search {
        margin: 14px 16px;

        min-height: 42px;
    }

    .search input[type="text"] {
        font-size: 12px;
    }

    .search button {
        padding: 0 12px;
    }

    .table-container {
        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 850px;
    }

}


/* =========================================================
   22. RESPONSIVE - SMALL PHONE
   ========================================================= */

@media (max-width: 420px) {

    .sidebar {
        padding: 13px;
    }

    .logo span {
        display: none;
    }

    .sidebar nav a {
        font-size: 12px;
    }

    .header {
        padding: 17px 14px;
    }

    .content {
        padding: 13px;
    }

    .stat {
        padding: 15px;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
    }

    .stat h2 {
        font-size: 20px;
    }

    .card-header {
        padding: 15px;
    }

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

    .search {
        margin-left: 13px;
        margin-right: 13px;
    }

}


/* =========================================================
   23. FOCUS ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);

    outline-offset: 2px;
}


/* =========================================================
   24. REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;
    }

}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "DM Sans",
        "Segoe UI",
        Arial,
        sans-serif;

    color: #172033;
}


/* =========================================================
   HALAMAN FORM
   ========================================================= */

.form-page {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background:
        #f5f7fb;
}


/* =========================================================
   CARD
   ========================================================= */

.form-card {
    position: relative;

    width: 100%;
    max-width: 700px;

    background: #ffffff;

    border: 1px solid #e5eaf1;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   HEADER
   ========================================================= */

.form-title {
    position: relative;

    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 38px 30px 28px;

    background: #ffffff;

    border-bottom: 1px solid #edf1f5;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.back-button {
    position: absolute;

    top: 22px;
    left: 24px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #64748b;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.back-button:hover {
    background: #eff6ff;

    border-color: #bfdbfe;

    color: #2563eb;

    transform: translateX(-2px);
}


/* =========================================================
   LOGO
   ========================================================= */

.form-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    margin-bottom: 20px;
}


/* Logo icon */

.form-logo .logo-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #2563eb;

    color: #ffffff;

    font-size: 20px;

    box-shadow:
        0 7px 18px rgba(37, 99, 235, 0.20);
}


/* Logo text */

.form-logo .logo-text {
    text-align: left;
}

.form-logo h1 {
    margin: 0;

    color: #172033;

    font-size: 21px;

    font-weight: 800;

    line-height: 1.1;
}

.form-logo span {
    display: block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.2px;
}


/* =========================================================
   JUDUL
   ========================================================= */

.form-heading h2 {
    margin: 0;

    color: #172033;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.3;
}

.form-heading p {
    margin-top: 6px;

    color: #64748b;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FORM BODY
   ========================================================= */

.form-card form {
    width: 100%;

    padding: 30px;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.form-group {
    width: 100%;

    margin-bottom: 21px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}


/* =========================================================
   LABEL
   ========================================================= */

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   INPUT WRAPPER
   ========================================================= */

.input-wrapper {
    position: relative;

    width: 100%;
}


/* Input icon */

.input-wrapper > i {
    position: absolute;

    top: 50%;
    left: 14px;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 13px;

    pointer-events: none;

    transition: color 0.2s ease;
}


/* =========================================================
   INPUT
   ========================================================= */

.input-wrapper input {
    width: 100%;

    height: 46px;

    padding:
        0
        14px
        0
        40px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #172033;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* Hover */

.input-wrapper input:hover {
    border-color: #cbd5e1;
}


/* Focus */

.input-wrapper input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* Icon ketika input focus */

.input-wrapper:focus-within > i {
    color: #2563eb;
}


/* Placeholder */

.input-wrapper input::placeholder {
    color: #a0aabd;
}


/* =========================================================
   UPLOAD
   ========================================================= */

.upload {
    position: relative;

    width: 100%;
    min-height: 165px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 25px;

    text-align: center;

    border: 1.5px dashed #cbd5e1;

    border-radius: 11px;

    background: #f8fafc;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Hover */

.upload:hover {
    background: #f8fbff;

    border-color: #2563eb;

    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.05);
}


/* Upload icon */

.upload > i {
    margin-bottom: 11px;

    color: #2563eb;

    font-size: 26px;
}


/* Upload title */

.upload strong {
    max-width: 90%;

    overflow: hidden;

    color: #334155;

    font-size: 13px;

    font-weight: 600;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* Upload description */

.upload span {
    margin-top: 5px;

    color: #94a3b8;

    font-size: 11px;
}


/* File size */

.upload small {
    margin-top: 4px;

    color: #a8b2c1;

    font-size: 10px;
}


/* File input */

.upload input[type="file"] {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}


/* Saat file dipilih */

.upload.has-file {
    background: #f0fdf4;

    border-color: #86efac;
}

.upload.has-file > i {
    color: #16a34a;
}

.upload.has-file strong {
    color: #15803d;
}


/* =========================================================
   FOOTER
   ========================================================= */

.form-footer {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid #edf2f7;
}


/* =========================================================
   BUTTON UMUM
   ========================================================= */

.btn-secondary,
.form-footer .btn-primary {
    min-height: 41px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 18px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   BUTTON BATAL
   ========================================================= */

.btn-secondary {
    background: #ffffff;

    border: 1px solid #dbe2ea;

    color: #475569;
}

.btn-secondary:hover {
    background: #f8fafc;

    border-color: #cbd5e1;

    color: #172033;
}


/* =========================================================
   BUTTON SIMPAN
   ========================================================= */

.form-footer .btn-primary {
    border: 1px solid #2563eb;

    background: #2563eb;

    color: #ffffff;

    cursor: pointer;
}

.form-footer .btn-primary:hover {
    background: #1d4ed8;

    border-color: #1d4ed8;

    transform: translateY(-1px);
}

.form-footer .btn-primary:active {
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 768px) {

    .form-page {
        padding: 30px 18px;
    }

    .form-card {
        max-width: 650px;

        border-radius: 16px;
    }

    .form-title {
        padding:
            34px
            25px
            26px;
    }

    .form-card form {
        padding: 26px;
    }

}


/* =========================================================
   RESPONSIVE HP
   ========================================================= */

@media (max-width: 550px) {

    .form-page {
        min-height: 100vh;

        padding: 15px 10px;
    }

    .form-card {
        border-radius: 14px;
    }


    /* Header */

    .form-title {
        padding:
            30px
            18px
            23px;
    }


    /* Back */

    .back-button {
        top: 15px;
        left: 15px;

        width: 35px;
        height: 35px;

        border-radius: 8px;

        font-size: 12px;
    }


    /* Logo */

    .form-logo {
        gap: 9px;

        margin-bottom: 16px;
    }

    .form-logo .logo-icon {
        width: 43px;
        height: 43px;

        border-radius: 10px;

        font-size: 17px;
    }

    .form-logo h1 {
        font-size: 19px;
    }

    .form-logo span {
        font-size: 9px;
    }


    /* Heading */

    .form-heading h2 {
        font-size: 18px;
    }

    .form-heading p {
        margin-top: 5px;

        font-size: 11px;
    }


    /* Form */

    .form-card form {
        padding: 21px 18px;
    }

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

    .form-group label {
        margin-bottom: 7px;

        font-size: 12px;
    }


    /* Input */

    .input-wrapper input {
        height: 44px;

        padding-left: 38px;

        font-size: 12px;
    }

    .input-wrapper > i {
        left: 13px;

        font-size: 12px;
    }


    /* Upload */

    .upload {
        min-height: 140px;

        padding: 20px;
    }

    .upload > i {
        font-size: 23px;
    }

    .upload strong {
        font-size: 12px;
    }

    .upload span {
        font-size: 10px;
    }


    /* Footer */

    .form-footer {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap: 8px;

        margin-top: 23px;

        padding-top: 18px;
    }

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

        min-height: 40px;

        padding: 0 10px;

        font-size: 12px;
    }

}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 360px) {

    .form-page {
        padding: 8px;
    }

    .form-card {
        border-radius: 12px;
    }

    .form-title {
        padding:
            28px
            14px
            20px;
    }

    .form-card form {
        padding:
            18px
            14px;
    }

    .form-logo .logo-icon {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .form-logo h1 {
        font-size: 18px;
    }

    .form-heading h2 {
        font-size: 17px;
    }

    .form-heading p {
        font-size: 10px;
    }

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

}


/* =========================================================
   DETAIL DATA KIP
   ========================================================= */

/* ---------------------------------------------------------
   ROOT / BODY
   --------------------------------------------------------- */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;

    --success: #16a34a;
    --success-light: #f0fdf4;

    --danger: #dc2626;
    --danger-light: #fef2f2;

    --text: #172033;
    --text-secondary: #475569;
    --muted: #64748b;
    --muted-light: #94a3b8;

    --border: #e2e8f0;
    --border-light: #edf2f7;

    --background: #f5f7fb;
    --white: #ffffff;

    --sidebar-width: 245px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--background);

    color: var(--text);

    font-family:
        "DM Sans",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 14px;
}


/* =========================================================
   APP LAYOUT
   ========================================================= */

.app {
    width: 100%;
    min-height: 100vh;

    display: flex;

    background: var(--background);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: var(--sidebar-width);

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border-right: 1px solid var(--border);

    z-index: 100;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    height: 82px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 22px;

    border-bottom: 1px solid var(--border-light);
}

.brand-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--primary);

    color: #ffffff;

    font-size: 18px;

    box-shadow:
        0 5px 15px rgba(37, 99, 235, 0.18);
}

.brand h2 {
    margin: 0;

    color: var(--text);

    font-size: 18px;

    font-weight: 800;

    line-height: 1.1;
}

.brand span {
    display: block;

    margin-top: 3px;

    color: var(--muted-light);

    font-size: 9px;

    font-weight: 500;
}


/* =========================================================
   SIDEBAR MENU
   ========================================================= */

.sidebar-menu {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 20px 12px;
}

.sidebar-menu a {
    position: relative;

    height: 44px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 13px;

    border-radius: 8px;

    color: var(--text-secondary);

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.sidebar-menu a i {
    width: 18px;

    text-align: center;

    font-size: 14px;
}

.sidebar-menu a:hover {
    background: #f8fafc;

    color: var(--primary);
}

.sidebar-menu a.active {
    background: var(--primary-light);

    color: var(--primary);

    font-weight: 600;
}

.sidebar-menu a.active::before {
    content: "";

    position: absolute;

    left: 0;

    top: 9px;
    bottom: 9px;

    width: 3px;

    border-radius: 0 4px 4px 0;

    background: var(--primary);
}


/* =========================================================
   SIDEBAR FOOTER
   ========================================================= */

.sidebar-footer {
    margin-top: auto;

    padding: 16px;

    border-top: 1px solid var(--border-light);
}

.admin-mini {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px;

    border-radius: 9px;

    background: #f8fafc;
}

.admin-avatar {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--primary);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;
}

.admin-mini strong {
    display: block;

    color: var(--text);

    font-size: 11px;

    font-weight: 600;
}

.admin-mini small {
    display: block;

    margin-top: 2px;

    color: var(--muted-light);

    font-size: 9px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {
    width: calc(100% - var(--sidebar-width));

    min-height: 100vh;

    margin-left: var(--sidebar-width);
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 32px;

    background: #ffffff;

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;

    gap: 14px;
}


/* Back button */

.topbar .back-button {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f8fafc;

    border: 1px solid var(--border);

    color: var(--muted);

    text-decoration: none;

    transition: all 0.2s ease;
}

.topbar .back-button:hover {
    background: var(--primary-light);

    border-color: #bfdbfe;

    color: var(--primary);

    transform: translateX(-2px);
}


/* Header title */

.topbar h1 {
    margin: 0;

    color: var(--text);

    font-family:
        "Plus Jakarta Sans",
        "DM Sans",
        sans-serif;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.3;
}

.topbar p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile {
    display: flex;
    align-items: center;

    gap: 10px;
}

.profile-avatar {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;
}

.profile-info strong {
    display: block;

    color: var(--text);

    font-size: 11px;

    font-weight: 600;
}

.profile-info span {
    display: block;

    margin-top: 2px;

    color: var(--muted-light);

    font-size: 9px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.content {
    width: 100%;

    padding: 30px 32px 40px;
}


/* =========================================================
   DETAIL CONTAINER
   ========================================================= */

.detail-container {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   DETAIL CARD
   ========================================================= */

.detail-card {
    width: 100%;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 13px;

    overflow: hidden;

    box-shadow:
        0 4px 16px rgba(15, 23, 42, 0.035);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.detail-card-header {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 22px;

    border-bottom: 1px solid var(--border-light);
}

.detail-title {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}


/* =========================================================
   DETAIL ICON
   ========================================================= */

.detail-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 16px;
}

.detail-icon.document {
    background: #f1f5f9;

    color: #475569;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.detail-title h2 {
    max-width: 500px;

    overflow: hidden;

    color: var(--text);

    font-family:
        "Plus Jakarta Sans",
        "DM Sans",
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.4;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.detail-title p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   STATUS
   ========================================================= */

.status-badge {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 20px;

    background: var(--success-light);

    color: var(--success);

    font-size: 10px;

    font-weight: 600;
}

.status-badge i {
    font-size: 9px;
}


/* =========================================================
   DETAIL GRID
   ========================================================= */

.detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;
}


/* =========================================================
   DETAIL ITEM
   ========================================================= */

.detail-item {
    min-height: 94px;

    padding: 18px 22px;

    border-bottom: 1px solid var(--border-light);
}

.detail-item:nth-child(odd) {
    border-right: 1px solid var(--border-light);
}

.detail-item:nth-last-child(-n + 2) {
    border-bottom: none;
}


/* =========================================================
   DETAIL LABEL
   ========================================================= */

.detail-label {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 9px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.35px;
}

.detail-label i {
    color: var(--muted-light);

    font-size: 10px;
}


/* =========================================================
   DETAIL VALUE
   ========================================================= */

.detail-item > strong {
    display: block;

    color: var(--text);

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;

    word-break: break-word;
}


/* =========================================================
   DOCUMENT BOX
   ========================================================= */

.document-box {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 22px;
}


/* =========================================================
   DOCUMENT INFO
   ========================================================= */

.document-info {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}

.document-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--danger-light);

    color: var(--danger);

    font-size: 18px;
}

.document-info > div:last-child {
    min-width: 0;
}

.document-info strong {
    display: block;

    max-width: 520px;

    overflow: hidden;

    color: var(--text);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.4;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.document-info span {
    display: block;

    margin-top: 4px;

    color: var(--muted-light);

    font-size: 10px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn {
    min-height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 14px;

    border-radius: 8px;

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.btn-primary {
    background: var(--primary);

    border: 1px solid var(--primary);

    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);

    border-color: var(--primary-dark);

    transform: translateY(-1px);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.btn-secondary {
    background: #ffffff;

    border: 1px solid var(--border);

    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: #f8fafc;

    border-color: #cbd5e1;

    color: var(--text);
}


/* =========================================================
   DANGER BUTTON
   ========================================================= */

.btn-danger {
    background: #ffffff;

    border: 1px solid #fecaca;

    color: var(--danger);
}

.btn-danger:hover {
    background: var(--danger-light);

    border-color: #fca5a5;

    color: #b91c1c;

    transform: translateY(-1px);
}


/* =========================================================
   ACTION
   ========================================================= */

.detail-actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding-top: 3px;
}

.detail-actions .btn {
    min-width: 115px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    :root {
        --sidebar-width: 220px;
    }

    .topbar {
        padding: 0 24px;
    }

    .content {
        padding: 25px 24px 35px;
    }

    .detail-container {
        max-width: 100%;
    }

    .document-info strong {
        max-width: 400px;
    }

}


/* =========================================================
   TABLET KECIL
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        width: 100%;

        margin-left: 0;
    }

    .topbar {
        min-height: 72px;

        padding: 0 20px;
    }

    .topbar h1 {
        font-size: 18px;
    }

    .topbar p {
        font-size: 11px;
    }

    .content {
        padding: 22px 20px 30px;
    }

}


/* =========================================================
   HP
   ========================================================= */

@media (max-width: 600px) {

    .topbar {
        padding: 0 15px;
    }

    .topbar-left {
        gap: 10px;
    }

    .topbar .back-button {
        width: 35px;
        height: 35px;

        font-size: 12px;
    }

    .topbar h1 {
        font-size: 16px;
    }

    .topbar p {
        font-size: 10px;
    }


    /* Profile */

    .profile-info {
        display: none;
    }

    .profile-avatar {
        width: 35px;
        height: 35px;
    }


    /* Content */

    .content {
        padding: 15px 10px 25px;
    }

    .detail-container {
        gap: 12px;
    }


    /* Card */

    .detail-card {
        border-radius: 11px;
    }


    /* Card Header */

    .detail-card-header {
        min-height: 68px;

        padding: 15px;

        gap: 10px;
    }

    .detail-title {
        gap: 9px;
    }

    .detail-icon {
        width: 37px;
        height: 37px;

        border-radius: 8px;

        font-size: 14px;
    }

    .detail-title h2 {
        max-width: 210px;

        font-size: 13px;
    }

    .detail-title p {
        font-size: 9px;
    }

    .status-badge {
        padding: 6px 8px;

        font-size: 9px;
    }


    /* Detail Grid */

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-item {
        min-height: auto;

        padding: 15px;
    }

    .detail-item:nth-child(odd) {
        border-right: none;
    }

    .detail-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--border-light);
    }

    .detail-item:last-child {
        border-bottom: none;
    }

    .detail-label {
        margin-bottom: 7px;

        font-size: 9px;
    }

    .detail-item > strong {
        font-size: 12px;
    }


    /* Document */

    .document-box {
        align-items: stretch;
        flex-direction: column;

        padding: 15px;

        gap: 15px;
    }

    .document-info {
        width: 100%;
    }

    .document-icon {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .document-info strong {
        max-width: calc(100vw - 100px);

        font-size: 11px;
    }

    .document-info span {
        font-size: 9px;
    }

    .document-box .btn {
        width: 100%;
    }


    /* Actions */

    .detail-actions {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap: 8px;
    }

    .detail-actions .btn {
        width: 100%;

        min-width: 0;
    }

}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 380px) {

    .topbar {
        min-height: 66px;
    }

    .topbar h1 {
        font-size: 14px;
    }

    .topbar p {
        display: none;
    }

    .content {
        padding:
            12px
            8px
            20px;
    }

    .detail-card-header {
        align-items: flex-start;
    }

    .status-badge {
        margin-top: 2px;
    }

    .detail-title h2 {
        max-width: 170px;

        font-size: 12px;
    }

    .detail-actions {
        grid-template-columns: 1fr;
    }


}


/* =========================================================
   LOGIN KIP - MODERN & RESPONSIVE
   ========================================================= */

.login-page {
    min-height: 100vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37, 99, 235, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(59, 130, 246, 0.08),
            transparent 30%
        ),
        #f6f8fc;

    position: relative;
    overflow: hidden;
}


/* =========================================================
   DECORATION BACKGROUND
   ========================================================= */

.login-page::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.035);

    top: -180px;
    right: -140px;
}

.login-page::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.035);

    bottom: -150px;
    left: -120px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 430px;

    padding: 38px;

    background: #ffffff;

    border: 1px solid #e5eaf2;

    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.08),
        0 4px 14px rgba(15, 23, 42, 0.035);

    animation: loginCardIn 0.45s ease;
}


@keyframes loginCardIn {

    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LOGO
   ========================================================= */

.login-logo {
    display: flex;
    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-bottom: 30px;
}


.login-logo-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #2563eb;

    color: #ffffff;

    font-size: 21px;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.20);
}


.login-logo h1 {
    margin: 0;

    color: #172033;

    font-family:
        "Plus Jakarta Sans",
        "DM Sans",
        "Segoe UI",
        sans-serif;

    font-size: 22px;

    font-weight: 800;

    line-height: 1.1;
}


.login-logo span {
    display: block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.15px;
}


/* =========================================================
   HEADING
   ========================================================= */

.login-heading {
    margin-bottom: 26px;

    text-align: center;
}


.login-heading h2 {
    margin: 0;

    color: #172033;

    font-family:
        "Plus Jakarta Sans",
        "DM Sans",
        "Segoe UI",
        sans-serif;

    font-size: 22px;

    font-weight: 700;

    line-height: 1.35;
}


.login-heading p {
    margin: 7px 0 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   ALERT
   ========================================================= */

.login-alert {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 20px;

    padding: 11px 13px;

    border: 1px solid #fecaca;

    border-radius: 9px;

    background: #fef2f2;

    color: #b91c1c;

    font-size: 11px;

    line-height: 1.4;
}


.login-alert i {
    flex-shrink: 0;

    font-size: 13px;
}


/* =========================================================
   FORM
   ========================================================= */

.login-card form {
    width: 100%;
}


.login-card .form-group {
    margin-bottom: 19px;
}


.login-card .form-group label {
    display: block;

    margin-bottom: 8px;

    color: #334155;

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   INPUT
   ========================================================= */

.login-input {
    position: relative;

    width: 100%;
}


.login-input > i:first-child {
    position: absolute;

    top: 50%;
    left: 14px;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 13px;

    pointer-events: none;

    transition: color 0.2s ease;
}


.login-input input {
    width: 100%;

    height: 46px;

    padding:
        0
        44px
        0
        40px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #172033;

    font-family:
        "DM Sans",
        "Segoe UI",
        sans-serif;

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.login-input input::placeholder {
    color: #a8b1bf;
}


.login-input input:hover {
    border-color: #cbd5e1;
}


.login-input input:focus {
    border-color: #2563eb;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.09);
}


.login-input:focus-within > i:first-child {
    color: #2563eb;
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.password-toggle {
    position: absolute;

    top: 50%;
    right: 7px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: none;

    border-radius: 7px;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.password-toggle:hover {
    background: #f1f5f9;

    color: #2563eb;
}


.password-toggle i {
    font-size: 12px;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-button {
    width: 100%;

    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 5px;

    border: 1px solid #2563eb;

    border-radius: 9px;

    background: #2563eb;

    color: #ffffff;

    font-family:
        "DM Sans",
        "Segoe UI",
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 7px 16px rgba(37, 99, 235, 0.16);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


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

    border-color: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 10px 20px rgba(37, 99, 235, 0.20);
}


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

    box-shadow:
        0 5px 12px rgba(37, 99, 235, 0.15);
}


.login-button i {
    font-size: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {
    margin-top: 26px;

    padding-top: 18px;

    border-top: 1px solid #edf1f5;

    text-align: center;
}


.login-footer span {
    color: #a0aaba;

    font-size: 9px;

    font-weight: 500;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 600px) {

    .login-page {
        padding: 20px 15px;
    }


    .login-card {
        max-width: 420px;

        padding: 32px 26px;

        border-radius: 15px;
    }


    .login-logo {
        margin-bottom: 25px;
    }


    .login-logo-icon {
        width: 46px;
        height: 46px;

        font-size: 19px;
    }


    .login-logo h1 {
        font-size: 20px;
    }


    .login-heading {
        margin-bottom: 23px;
    }


    .login-heading h2 {
        font-size: 20px;
    }


    .login-heading p {
        font-size: 11px;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .login-page {
        padding: 15px;
    }


    .login-card {
        padding: 28px 20px;

        border-radius: 13px;
    }


    .login-logo {
        gap: 10px;

        margin-bottom: 23px;
    }


    .login-logo-icon {
        width: 43px;
        height: 43px;

        border-radius: 10px;

        font-size: 17px;
    }


    .login-logo h1 {
        font-size: 19px;
    }


    .login-logo span {
        font-size: 9px;
    }


    .login-heading h2 {
        font-size: 18px;
    }


    .login-heading p {
        font-size: 10px;
    }


    .login-input input {
        height: 44px;

        font-size: 11px;
    }


    .login-button {
        height: 44px;

        font-size: 11px;
    }
}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 340px) {

    .login-page {
        padding: 10px;
    }


    .login-card {
        padding: 24px 17px;
    }


    .login-heading h2 {
        font-size: 17px;
    }


    .login-heading p {
        font-size: 9px;
    }


    .login-card .form-group label {
        font-size: 10px;
    }
}