.dashboard-container {
    /* max-width: 1200px; */
    /* margin: 0 auto;
    padding: 20px; */
}

/* Custom styling that doesn't override Bootstrap classes */
.custom-card {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.custom-card-header {
    background: linear-gradient(135deg, #38a300, #1c1605);
    color: white;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.gradient-btn {
    background: linear-gradient(to right, #38a300, #202124);
    transition: all 0.3s;
}

.gradient-btn:hover:not(:disabled) {
    background: linear-gradient(to right, #202124, #38a300);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(56, 163, 0, 0.3);
}

.gradient-progress {
    background: linear-gradient(to right, #38a300, #202124);
}

.video-thumbnail-container {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.play-overlay:hover {
    background-color: rgba(0,0,0,0.5);
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38a300;
    font-size: 24px;
}

.custom-navbar {
    background: linear-gradient(135deg, #38a300, #202124);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #38a300;
    font-weight: 600;
}

.reinvest-banner {
    background: linear-gradient(135deg, #38a300, #266b00);
    color: white;
    border-radius: 10px;
}

/* Referral links */
.referral-section {
    border-radius: 10px;
    padding: 0;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
}

.referral-header {
    background: #2b6f0b;
    color: white;
    padding: 8px 11px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    margin-bottom: 5px;
}

.referral-header h5 {
    margin: 0;
    font-size: 1rem;
}

.referral-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.referral-card2 {
    border-right: 4px solid transparent;
}

.left-referral {
    border-left-color: #2b6f0b;
}

.right-referral {
    border-left-color: #ff9f43;
    /* text-align: right; */
}

.referral-title {
    color: #d0d2d6;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.referral-subtitle {
    color: #b4b7bd;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
}

.referral-input {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: #b4b7bd !important;
    border: 1px dotted #384566 !important;
    box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1) !important;
}

.copy-btn-left {
    background-color: #2b6f0b !important;
    border-color: #2b6f0b !important;
    color: white !important;
    transition: all 0.2s ease;
}

.copy-btn-left:hover {
    background-color: #1c4907 !important;
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.4) !important;
}

.copy-btn-right {
    background-color: #ff9f43 !important;
    border-color: #ff9f43 !important;
    color: white !important;
    transition: all 0.2s ease;
}

.copy-btn-right:hover {
    background-color: #ff8510 !important;
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.4) !important;
}

.copy-icon {
    font-size: 16px;
}

.input-group-custom {
    margin-bottom: 5px;
}

/* Ensure the button stays on the left for right referral */
.right-referral .input-group {
    flex-direction: row-reverse;
}

.right-referral .input-group-append {
    margin-right: 0;
    margin-left: -1px;
}

/* end referral links */


.countdown-timer-wrapper {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.countdown-timer-wrapper:hover {
    background-color: #e9ecef;
    transform: scale(1.05);
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 600;
    color: #28a745;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.countdown-timer span {
    font-size: 2.5rem;
    color: #007bff;
    font-weight: bold;
}

.countdown-timer-wrapper p {
    font-size: 1rem;
    color: #6c757d;
}

.countdown-timer-wrapper {
    position: relative;
    overflow: hidden;
    padding: 15px;
    width: fit-content;
}

.countdown-timer-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    animation: countdownProgress 24s linear infinite;
}

@keyframes countdownProgress {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


 /* Success Animation */
 .success-animation {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #38A300;
    stroke-miterlimit: 10;
    box-shadow: 0 0 15px rgba(56, 163, 0, 0.3);
    animation: fill 0.6s ease-in-out 0.4s forwards, scale 0.5s ease-in-out 0.9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #38A300;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
    100% { box-shadow: inset 0 0 0 100px rgba(56, 163, 0, 0.1); }
}

/* Glow Button Effect */
.btn-glow {
    position: relative;
    transition: all 0.3s;
    background: linear-gradient(135deg, #38A300, #2e8a00);
    border: none;
    overflow: hidden;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 163, 0, 0.4);
}

.btn-glow:active {
    transform: translateY(0);
}

/* Modal Content Animation */
.modal-content {
    animation: modalEnter 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes modalEnter {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}