* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* .main {
    display: flex;
    justify-content: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
} */

.container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    display: flex;
    flex-direction: row;
    gap: 190px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.box-tampilan {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 25px;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

    max-width: 1100px;
}

/* ############################ */
/* bagian CBT */
/* Left Card */
.left-card {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.left-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.main-title {
    font-size: 32px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0099ff 0%, #3366cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.features-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #4a5568;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #4299e1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #3182ce;
}

/* ############################ */
/* bagian creator */

/* Right Card - Carousel */
.right-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.carousel-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 10px;
}

.slide-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
}

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.profile-image {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    display: block;
    margin: 0 auto;
}

.profile-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4299e1;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 30px;
    margin-bottom: 20px;
}

.profile-details {
    list-style: none;
}

.profile-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 15px;
}

.detail-icon {
    width: 18px;
    height: 18px;
    color: #4299e1;
    flex-shrink: 0;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Dots Indicator */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #4299e1;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.dot:hover {
    background-color: #a0aec0;
}


/* ############################ */
/* bagian box Login */

.box-login {
    background-color: white;
    width: 100%;
    max-width: 550px;
    align-self: center;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease 0.2s both;
    -webkit-animation: fadeIn 0.6s ease 0.2s both;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.login-header {
    text-align: center;
}

.login-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.login-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #006ae6, #0099ff);
    margin: 10px auto 0;
    box-shadow: 0 0 8px rgba(0, 153, 255, 0.5);
    border-radius: 3px;
}

.message-container {
    margin: 15px 0;
    text-align: center;
    color: red;
    font-style: italic;
    font-size: 0.9rem;
}

/* ===== form ===== */
.box-login form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== Label ===== */
.box-login label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

/* ===== Input fields ===== */
.box-login input {
    font-size: 1rem;
    padding: 14px;
    border: 1.5px solid #e1e8ed;
    border-radius: 10px;
    background-color: #fafbfc;
    transition: all 0.3s ease;
}

.box-login input:focus {
    border-color: #007BFF;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* ===== PASSWORD WRAPPER ===== */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 12px; /* kanan dikasih ruang untuk icon */
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.password-wrapper input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* tombol eye */
.btn-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* icon eye */
.btn-eye img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

/* ===== Tombol Login ===== */
.tombol_login {
    font-size: 1rem;
    font-weight: 600;
    padding: 14px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: #007bff;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.tombol_login:hover {
    background: linear-gradient(90deg, #006ae6, #004eb2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.tombol_login:active {
    transform: translateY(0);
}


/* ===== Link "Belum punya akun" ===== */
.notif-belumpunyaakun {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.notif-belumpunyaakun p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.notif-belumpunyaakun a {
    text-decoration: none;
    color: #007BFF;
    font-weight: 600;
    transition: 0.3s ease;
    position: relative;
}

/* Hover underline */
.notif-belumpunyaakun a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #007BFF;
    left: 0;
    bottom: -2px;
    transition: width 0.3s ease;
}

.notif-belumpunyaakun a:hover::after {
    width: 100%;
}

/* Animasi halus */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ############################ */
/* RESPONSIVE DESIGN */
/* ############################ */

/* Tablet - Large (1024px and below) */
@media (max-width: 1024px) {
    .container {
        gap: 50px;
    }
    
    .box-tampilan {
        max-width: 600px;
    }
}

/* Tablet - Medium (900px and below) */
@media (max-width: 900px) {
    .main {
        padding: 30px 20px;
    }
    
    .container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .box-tampilan {
        max-width: 100%;
    }
    
    .box-login {
        max-height: none;
    }
}

/* Tablet - Small (768px and below) */
@media (max-width: 768px) {
    .main {
        padding: 20px 15px;
    }
    
    .box-tampilan {
        padding: 20px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .carousel-container {
        padding: 15px;
    }
    
    .card-creator {
        padding: 30px 20px;
    }
    
    .box-login {
        padding: 30px 25px;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
}

/* Mobile - Large (600px and below) */
@media (max-width: 600px) {
    .main {
        padding: 15px 10px;
    }
    
    .container {
        gap: 20px;
    }
    
    .box-tampilan {
        padding: 10px;
        border-radius: 12px;
    }
    
    .hero-content {
        padding: 15px;
        border-radius: 12px;
    }
    
    .hero-content h1 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        min-width: 20px;
        height: 20px;
        font-size: 0.8rem;
        margin-right: 10px;
    }
    
    .carousel-container {
        padding: 40px 10px 15px;
        max-width: 100%;
    }

    .carousel-slide {
        padding: 0 2px;
    }
    
    .card-creator {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .card-creator h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .card-creator h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .card-creator ul li,
    .card-creator span {
        font-size: 12px;
        line-height: 1.4;
    }

    .card-creator ul li {
        margin-bottom: 5px;
    }
    
    .gambar-creator {
        width: 100px;
        height: 120px;
        margin-bottom: 15px;
    }
    
    .carousel-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .carousel-btn.prev {
        left: 2px;
    }
    
    .carousel-btn.next {
        right: 2px;
    }
    
    .box-login {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .login-header h2 {
        font-size: 1.4rem;
    }
    
    .login-header p {
        font-size: 0.85rem;
    }
    
    .box-login label {
        font-size: 0.9rem;
    }
    
    .box-login input {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .box-login button {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .notif-belumpunyaakun p {
        font-size: 0.85rem;
    }
}

/* Mobile - Medium (480px and below) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .card-creator {
        padding: 20px 12px;
    }
    
    .card-creator h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .card-creator h3 {
        font-size: 15px;
    }
    
    .gambar-creator {
        width: 100px;
        height: 120px;
    }
    
    .carousel-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .box-login {
        padding: 20px 15px;
    }
    
    .login-header h2 {
        font-size: 1.3rem;
    }
    
    .box-login input,
    .box-login button {
        padding: 11px;
    }
}

/* Mobile - Small (360px and below) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .feature-icon {
        min-width: 18px;
        height: 18px;
        font-size: 0.75rem;
        margin-right: 8px;
    }
    
    .card-creator h2 {
        font-size: 18px;
    }
    
    .card-creator h3 {
        font-size: 14px;
    }
    
    .card-creator ul li,
    .card-creator span {
        font-size: 12px;
    }
    
    .login-header h2 {
        font-size: 1.2rem;
    }
    
    .login-header p {
        font-size: 0.8rem;
    }
    
    .box-login input,
    .box-login button {
        font-size: 0.9rem;
        padding: 10px;
    }
}