/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
    background-color: #f4f7f6;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* --- STICKY HEADER --- */
.sticky-header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    width: 100%;
}

.top-header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.login-btn,
.menu-btn {
    background-color: #6b4196;
    color: #fff;
    border: none;
    padding: 9px 17px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-right i {
    color: #6b4196;
    font-size: 20px;
    cursor: pointer;
}

.sub-nav {
    background-color: #8c42bb;
    padding: 15px 40px;
}

.sub-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: flex-start;
    overflow-x: auto;
}

.sub-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 100;
    white-space: nowrap;
    opacity: 0.9;
}

.sub-nav a.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

/* --- HALAMAN PEMBATALAN --- */
.cancel-page-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    flex: 1;
}

.cancel-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    border: 1px solid #eee;
}

.cancel-header {
    text-align: center;
    margin-bottom: 25px;
}

.cancel-header h2 {
    color: #6b4196;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cancel-header p {
    font-size: 14px;
    color: #666;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    color: #444;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #8c42bb;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #8c42bb;
    box-shadow: 0 0 0 4px rgba(140, 66, 187, 0.1);
}

.otp-info {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    display: block;
    line-height: 1.4;
}

.btn-cancel-submit {
    background-color: #6b4196;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-cancel-submit:hover {
    background-color: #56337a;
}

.secure-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #999;
}

/* --- Mobile Responsive --- */
@media (max-width:768px) {
    .top-header { padding: 2px 21px; }
    .header-right { gap: 15px; }
    .login-btn, .menu-btn { padding: 15px 25px; font-size: 14px; }
    .logo-img { height: 50px; margin-right: 20px; margin-top: 9px; }
    .sub-nav { padding: 12px 15px; }
}
