body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
}


.form-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 30px;
    margin: 50px auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-container input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.form-container input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.form-container button {
    width: 100%;
    padding: 12px;
    background: #007BFF;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.form-container button:hover {
    background: #0056b3;
}

.form-container p.login-link {
    text-align: center;
    margin-top: 15px;
    color: #555;
}

.form-container p.login-link a {
    color: #007BFF;
    text-decoration: none;
}

.form-container p.login-link a:hover {
    text-decoration: underline;
}

p.error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

p.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Section wrapper */
.register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px); /* tinggi halaman dikurangi header/footer */
    background: #f5f7fa;
    padding: 20px;
}

/* Form wrapper */
.register-wrapper {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* Title */
.register-wrapper h2 {
    margin-bottom: 25px;
    color: #333;
}

/* Alerts */
.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
}

.alert.success {
    background: #d4edda;
    color: #155724;
}

/* Form group */
.register-form{
    width: 90%;
}

.register-form .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

.register-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.register-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.register-form input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Button */
.register-form button {
    width: 100%;
    padding: 12px;
    background: #007BFF;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.register-form button:hover {
    background: #0056b3;
}

/* Login link */
.login-link {
    margin-top: 15px;
    color: #555;
}

.login-link a {
    color: #007BFF;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Login Section */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    background: #f5f7fa;
    padding: 20px;
}

.login-wrapper {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.login-wrapper h2 {
    margin-bottom: 25px;
    color: #333;
}

/* Alerts */
.login-wrapper .alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.login-wrapper .alert.error {
    background: #f8d7da;
    color: #721c24;
}

/* Form group */
.login-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;

}

.login-form input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Button */
.login-form button {
    width: 100%;
    padding: 12px;
    background: #007BFF;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.login-form button:hover {
    background: #0056b3;
}

/* Register link */
.register-link {
    margin-top: 15px;
    color: #555;
}

.register-link a {
    color: #007BFF;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Header */
/* Header */
.site-header {
    background: #ffffff;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);

}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
}

.logo-img {
    width: 50px; /* Sesuaikan ukuran logo */
    height: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
}

.site-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav ul li {
    margin-left: 20px;
}

.site-nav ul li a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.site-nav ul li a:hover {
    color: #525252;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    .site-nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
}


/* Hero Section */
.hero-section {
    background: linear-gradient(0deg,rgba(255, 158, 158, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(151, 255, 135, 1) 100%); 
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero-wrapper h1 {
    font-size: 60px;
    color: #ff5a6a;
    margin-bottom: -55px;
}

.hero-wrapper h2 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #39a051;
}

/* Hero image animation */
.hero-wrapper img {
    width: 280px; /* Sesuaikan ukuran logo */
    height: auto;
    margin: -40px; 
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: fadeInUpImage 1s forwards;
    animation-delay: 0.1s; /* tampil pertama */
}

/* Keyframes animasi hero image */
@keyframes fadeInUpImage {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.hero-wrapper h3 {
    font-weight: 800;
    font-size: 20px;
    color: #000000;
    margin-bottom: -10px;
}

.hero-wrapper p { 
    font-size: 20px;
    color: #000000;
    margin-bottom: 30px;
}



.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #ff4141;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border-style: solid;
    border-color: #155724;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #ff8e8e;
    border-color: #196c2c;

}

/* Packages Section */
.packages-section {
    padding: 40px 20px 60px;
    background: linear-gradient(180deg,rgba(255, 158, 158, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.packages-section h2 {
    font-size: 35px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.packages-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.package-card {
    background: #fff;
    padding: 25px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #000000;
}


.package-card p {
    margin-bottom: 15px;
    color: #555;
}

.package-card:hover p { 
    color: #ffffff;
}

.package-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .packages-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

/* Paket type badge */
.package-type {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
    background: #28a745;
    padding: 3px 8px;
    border-radius: 5px;
}

/* Features Section */
.features-section {
    background: white;
    padding: 10px 20px 50px;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 35px;
}

.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-card { 
    padding: 25px;
    width: 220px; 
    text-align: center;
}
 

.feature-card p {
    color: #555;
    size: 20px;
    font-weight: 700; 
}


/* CTA Section */
.cta-section {
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(184, 255, 173, 1) 18%, rgba(110, 214, 96, 1) 100%);
    padding: 10px 20px 150px;
    text-align: center;
}

.cta-wrapper h2 {
    font-size: 48px;
    color: #000000;
    margin-bottom: 15px;
}

.cta-wrapper p {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
}

.cta-wrapper .btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #ff4141;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border-style: solid;
    border-color: #155724;
    transition: 0.3s;
}
 

.cta-wrapper .btn-primary:hover {
    background: #ff8e8e;
    border-color: #196c2c;
}


/* Paket card */
.package-card {
    background: #fff;
    padding: 25px;
    width: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, bor;
}



.package-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15); 
    
}

/* Buttons */
.btn-primary, .btn-secondary {
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features */
.feature-card { 
    padding: 25px;
    width: 220px;  
}

.feature-card img{
    width: 180px;
    height: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: fadeInUpImage 1s forwards;
    animation-delay: 0.1s; /* tampil pertama */
}
 
/* Testimonial */
.testimonial-card {
    background: #fff;
    padding: 25px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    font-style: italic;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background: #e9f2ff;
}

/* Hero section animation */
.hero-wrapper h1, .hero-wrapper h2, .hero-wrapper h3, .hero-wrapper p, .hero-wrapper .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.hero-wrapper h1 { animation-delay: 0.2s; }
.hero-wrapper h2 { animation-delay: 0.5s; }
.hero-wrapper h3 { animation-delay: 0.7s; }
.hero-wrapper p { animation-delay: 0.9s; }
.hero-wrapper .btn-primary { animation-delay: 1s; }
.hero-wrapper img { animation-delay: 0.1s;}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Packages fade in */
.package-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInCard 0.6s forwards;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.3s; }
.package-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA section button animation */
.cta-wrapper .btn-primary {
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.cta-wrapper .btn-primary:hover {
    transform: scale(1) translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Packages Page */
.packages-page {
    padding: 60px 20px; 
    background: linear-gradient(0deg, rgba(255, 158, 158, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(151, 255, 135, 1) 100%);
}

.page-title {
    text-align: center;
    font-size: 40px;
    color: #333;
    margin-bottom: 10px;
    margin-top: -20px;
}

.page-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.packages-grid {
    display: flex;
    gap: 20px;
    justify-self: center;
}
 
/* Packages Grid */
.packages-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Card Model */
.package-card {
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 70%, rgba(255, 173, 173, 1) 100%); 
    border-radius: 12px;
    width: 270px;
    text-align: center;
    border: 3px solid #28a745; /* Warna hijau default */
    transition: 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}


/* Header */
.package-header {
    color: #ffffff;
    padding: 0px 10px 30px;
    font-weight: bold;
}

/* Harga */
.package-price {
    font-size: 30px;
    margin-top: -20px;
    font-weight: bold;
    color: #000000;
}

/* Feature list */
.package-features {
    list-style: none;
    padding: 20px;
    margin: 0;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.package-features li {
    padding: 6px 0;
    border-bottom: 1px dashed #ccc;
}

/* Tombol order */
.package-card .btn-secondary {
    display: inline-block;
    margin: 20px auto;
    padding: 10px 18px;
    background: #37cd5a;
    color: #fff;
    font-weight: bold;
    border-radius: 7px;
    text-decoration: none;
    transition: 0.3s ease;
}

.package-card .btn-secondary:hover {
    background: #1f8839;
}

/* === Hover effect: Card berubah jadi hijau full === */
.package-card:hover {
    background: #37cd5a;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #00801a;
}

.package-card:hover h3 {
    color: #ffffff;
}


/* Ubah warna text saat hover (biar kontras dengan hijau) */
.package-card:hover .package-header,
.package-card:hover .package-price,
.package-card:hover .package-features li,
.package-card:hover .btn-secondary {
    color: #fff !important;
    border-color: rgba(255,255,255,0.3);
}

/* Tombol di hover tetap beda warna */
.package-card:hover .btn-secondary {
    background: #fff;
    color: #28a745 !important;
}


/* Footer */
.site-footer {
    background: #7c2a2a;
    color: #fff;
    padding: 60px 20px 20px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1 1 250px;
}

.footer-about h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #e0e0e0;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #ffc107;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    transition: 0.3s;
}

.footer-social a img {
    width: 24px;
    height: 24px;
}

.footer-social a:hover img {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-links ul li {
        display: inline-block;
        margin: 0 10px 5px 10px;
    }
}

/* Dashboard Section */ 
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #1e293b;
    color: white;
    padding: 25px 10px;
}

.sidebar-profile {
    text-align: center;
    margin-bottom: 20px;
}

.profile-img {
    width: 65px;
    border-radius: 50%;
    border: 3px solid #4ade80;
}

.profile-name {
    font-weight: bold;
    margin-top: 8px;
    color: #fff;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 18px;
    margin: 6px 8px;
    color: #cbd5e1;
    background: #334155;
    border-radius: 8px;
    text-decoration: none;
    transition: .3s;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: #4ade80;
    color: #000;
    font-weight: bold;
}

.logout-btn {
    background: #ef4444 !important;
    color: white !important;
}

/* Content Area */
.dashboard-content {
    flex: 1;
    padding: 40px;
    background: #f5f7fa;
}

.dashboard-content h1 {
    font-size: 26px;
    margin-bottom: 5px;
}

/* orders */
.orders-container {
    width: 95%;
    margin: 30px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-left: 6px solid #27ae60;
}

.orders-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.orders-title i {
    color: #27ae60;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.orders-table thead {
    background: #27ae60;
    color: white;
}

.orders-table th,
.orders-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    font-size: 15px;
}

/* Alternate row background */
.orders-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

/* Hover effect */
.orders-table tbody tr:hover {
    background: #e8f8ee;
    transform: scale(1.01);
    transition: 0.3s ease-in-out;
}

/* Badge Styling */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    color: white;
}

.badge-paid {
    background: #27ae60;
}

.badge-pending {
    background: #e67e22;
}

.badge-cancel {
    background: #c0392b;
}


.subtitle {
    color: #555;
    margin-bottom: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.table-title {
    margin-bottom: 15px;
}

/* Responsive */
@media(max-width: 850px) {
    .dashboard-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}


/* Invoice Section */
.dashboard-content {
    padding: 30px;
}

.page-title {
    font-size: 28px;
    margin-bottom: 5px;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
}

/* No Data */
.no-data {
    background: #ffe9e9;
    border-left: 5px solid #dc3545;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: #861616;
}

/* Table Styling */
.invoice-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border-collapse: collapse;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.invoice-table th {
    background: #28a745;
    color: white;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.invoice-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.invoice-table tr:hover {
    background: #f7fff7;
    transition: 0.3s;
}

/* Action Button */
.pay-btn {
    background: #007bff;
    padding: 8px 15px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.pay-btn:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

.paid-label {
    color: #28a745;
    font-weight: bold;
}

/* Status Badges */
.status {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: white;
    text-transform: capitalize;
}

.status.pending { background: #ffc107; color:black; }
.status.paid { background: #28a745; }
.status.failed { background: #dc3545; }



/* profile */
.profile-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.profile-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fafafa;
    transition: .3s;
}

.profile-form input:focus {
    border-color: #0c7c21;
    background: #ffffff;
}

.btn-save {
    background: #0c7c21;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: .3s;
}

.btn-save:hover {
    background: #0f9b28;
}

/* Alert Messages */
.success-msg, .error-msg {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
}

.success-msg {
    background: #d4ffe4;
    color: #0b6f38;
}

.error-msg {
    background: #ffd5d5;
    color: #b30000;
}

/* Order Page Style */
.order-container {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    padding: 20px;
    margin-bottom: 100px;
}

.order-box {
    width: 420px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.order-box h2 {
    margin-bottom: 10px;
    color: #222;
}

.package-title {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 20px;
}

/* Form style */
/* ======= Container ======= */
.order-container {
    max-width: 750px;
    background: #ffffff;
    padding: 30px;
    margin: 40px auto;
    border-radius: 18px;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border: 1px solid #e6ffe9;
}

/* ======= Header ======= */
.order-container h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1b6f31;
    text-align: center;
    margin-bottom: 25px;
}

/* === Form Layout (2 Column) === */
.order-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.order-form .full {
    grid-column: span 2;
}

/* ======= Labels ======= */
.order-form label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

/* ======= Inputs & Select ======= */
.order-form input{
    box-sizing: border-box;
}

.order-form input, .order-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #28a745;
    border-radius: 10px;
    font-size: 15px;
    background: #fafffa;
    transition: 0.3s;
}

.order-form input:focus, .order-form select:focus {
    outline: none;
    border-color: #145c27;
    box-shadow: 0 0 7px rgba(40,167,69,0.35);
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin: 15px 0 25px;
}

.payment-option {
    flex: 1;
    padding: 15px;
    border: 2px solid #28a745;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    background: #fff;
    transition: 0.3s;
    position: relative;
    user-select: none;
}

/* Sembunyikan radio button */
.payment-option input {
    display: none;
}

/* Efek hover */
.payment-option:hover {
    background: #eafce8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Style saat selected */
.payment-option input:checked + span {
    color: white;
}

.payment-option input:checked + span {
    background: #28a745;
    padding: 12px;
    border-radius: 8px;
}

.payment-option input:checked ~ .payment-option {
    background: #28a745;
}

.payment-option:has(input:checked) {
    background: #28a745;
    color: #fff;
    border-color: #1b6f31;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    transform: scale(1.03);
}


/* ======= Total Card ======= */
.total-box {
    grid-column: span 2;
    background: #edffee;
    padding: 18px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
    border-left: 6px solid #28a745;
}

/* ======= Submit Button ======= */
.btn-order {
    width: 100%; 
    background: #28a745;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
}

.btn-order:hover {
    background: #1c6b35;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* ======= Alerts ======= */
.alert {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.4s ease-in-out;
}

.alert.success {
    background: #d4f8d4;
    color: #1b6f31;
    border: 1px solid #1b6f31;
}

.alert.error {
    background: #ffe0e0;
    color: #b00000;
    border: 1px solid #b00000;
}

/* ======= Animation ======= */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(15px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 600px) {
    .order-form {
        grid-template-columns: 1fr;
    }
    .payment-methods {
        flex-direction: column;
    }
}
