* {
    font-family: 'Roboto', sans-serif;
}

body {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
.text-primary-color{
    color:#0d6efd;
}
.text-secondary-color{
    color:#20c997;
}


/* Login */
.register-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 0 20px;
}

.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.header-section {
    background: linear-gradient(135deg, #20c997, #0d6efd);
    padding: 40px 30px 30px;
    text-align: center;
    color: white;
    position: relative;
}

.logo-container {
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.version-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.form-section {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

.form-control::placeholder {
    color: #999;
    font-weight: 400;
}

.btn-register {
    background: linear-gradient(135deg, #20c997, #0d6efd);
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #20c997, #0d6efd);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
    color: white;
}

.btn-toggle{
	background: white;
	border: 2px solid #0d6efd;
	color: #0d6efd;
}
.btn-toggle.active{
	background: #0d6efd;
	border: 2px solid #0d6efd;
	color: white;
}
.btn-toggle:hover{
	background: #0d6efd;
	border: 2px solid v#0d6efd;
	color: white;
}

.terms-section {
    margin-top: 20px;
    text-align: center;
}

.form-check-input {
    border-radius: 4px;
    border: 2px solid #ddd;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    font-size: 13px;
    color: #666;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    color: #764ba2;
}

.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.back-arrow:hover {
    transform: translateX(-3px);
    color: white;
}

@media (max-width: 480px) {
    .register-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .form-section {
        padding: 30px 25px;
    }
    
    .header-section {
        padding: 35px 25px 25px;
    }
}


.header-home {
    /* background: rgba(255, 255, 255, 0.95); */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: white;
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.header {
    /* background: rgba(255, 255, 255, 0.95); */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #20c997, #0d6efd);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header h4 {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.header-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* .hero-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><radialGradient id="bokeh1" cx="50%" cy="50%" r="30%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.6);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:0" /></radialGradient></defs><circle cx="200" cy="100" r="40" fill="url(%23bokeh1)"/><circle cx="800" cy="150" r="60" fill="url(%23bokeh1)"/><circle cx="1000" cy="80" r="50" fill="url(%23bokeh1)"/><circle cx="400" cy="200" r="45" fill="url(%23bokeh1)"/></svg>');
    height: 200px;
    max-width:400px;
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
} */

.clock-coins {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.container-fluid {
    /* max-width: 400px; */
    margin: 0 auto;
    padding: 0;
}

.stats-section {
    background: white;
    margin: 0px 15px 20px 15px;
    border-top-left-radius:0px;
    border-top-right-radius:0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    /* z-index: 2; */
}

.stats-header {
    background: linear-gradient(135deg, #20c997, #0d6efd);
    /* background: linear-gradient(135deg, #667eea, #764ba2); */
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stats-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.task-section {
    background: white;
    margin: 0 15px 20px 15px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* .task-progress {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar-custom {
    background: linear-gradient(90deg, #20c997, #0d6efd);
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
} */
.submit-btn {
    background: linear-gradient(135deg, #20c997, #0d6efd);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}
.start-btn {
    background: linear-gradient(135deg, #20c997, #0d6efd);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.4);
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0 15px 20px 15px;
    justify-items: center;
}

.nav-btn {
    background: white;
    /* border: none;
    padding: 20px;
    border-radius: 50px;
    text-align: center; */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    width: 100px; 
    height: 100px;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: #333;
}

.nav-btn i {
    /* font-size: 1.5rem; */
    /* margin-bottom: 8px; */
    color: #667eea;
}

.nav-btn-label {
    font-size: 0.85rem;
    font-weight: 500;
}

/* .membership-section {
    background: white;
    margin: 0 15px 100px 15px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.membership-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.membership-item:last-child {
    border-bottom: none;
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background: linear-gradient(135deg, #20c997, #0d6efd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.member-info {
    flex-grow: 1;
}

.member-name {
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
}

.member-task {
    font-size: 0.8rem;
    color: #6c757d;
}

.member-details {
    text-align: right;
}

.member-id {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.member-points {
    font-weight: 600;
    color: #333;
} */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 10px 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
}

.bottom-nav-container {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.bottom-nav-item {
    text-align: center;
    color: #6c757d;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
}

.bottom-nav-item.active {
    color: #667eea;
}

.bottom-nav-item:hover {
    color: #667eea;
}

.bottom-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.bottom-nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    /* .stats-grid-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    } */
    
    /* .nav-buttons {
        grid-template-columns: repeat(2, 1fr);
    } */
    
    /* .hero-section {
        height: 150px;
    } */
    
    .clock-coins {
        font-size: 3rem;
    }
}

.placeholder-center::placeholder {
    text-align: center;
}


.lucky-draw-spinner{
    background: linear-gradient(135deg, #20c997, #0d6efd);
}
.luck-draw-box {
    
    position: relative;
    width: 310px;
    height: 310px;
    margin: 1rem auto 0;
}

.luck-draw-image {
    width: 270px;
    height: 270px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%)
}

.luck-draw-xz {
    -webkit-transform: rotate(1turn);
    animation: rotation-data-v-2203095d 10s linear infinite;
    -moz-animation: rotation-data-v-2203095d 10s linear infinite;
    -webkit-animation: rotation-data-v-2203095d 10s linear infinite;
    -o-animation: rotation-data-v-2203095d 10s linear infinite
}

@-webkit-keyframes rotation-data-v-2203095d {
    0% {
        -webkit-transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn)
    }
}

.n-level .card-header{
    background: linear-gradient(135deg, #20c997, #0d6efd);
}

/* FAB */
.fab-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000; /* Ensure it floats above other content */
}
.fab-main{
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.fab-main img{
  width: 60px;
  height: 60px;
}



/* Member */
.membership-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    /* max-width: 450px; */
    overflow: hidden;
}

.membership-section h5 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
    border-bottom: 2px solid #f1f2f6;
    padding-bottom: 15px;
}

.membership-container {
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: #f8f9fa;
}

.membership-scroll {
    animation: scrollUp 30s linear infinite;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}

.membership-item {
    display: flex;
    align-items: center;
    padding: 18px;
    background: white;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #4CAF50;
    min-height: 70px;
}

.membership-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #20c997, #0d6efd);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 4px;
}

.member-task {
    color: #7f8c8d;
    font-size: 13px;
    opacity: 0.8;
}

.member-details {
    text-align: right;
    flex-shrink: 0;
}

.member-id {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 4px;
    font-family: 'Courier New', monospace;
}

.member-points {
    font-weight: bold;
    color: #27ae60;
    font-size: 16px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}