/* -- Buttons -- */

.btn-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 15px
        /* padding: 10px; */
        /* border: 1px solid #ccc; */
}

/* Left button styles */
.button-left {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Right button styles */
.button-right {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.875rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
    /* margin-bottom: 20px; */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-no-effect::before {
    all: unset;
}

.btn:hover::before {
    transform: translateX(100%);
}

/* primary & secondary*/
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary) 100%);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    color: white;
    background: linear-gradient(135deg, #c46bce 10%, #f5576c 100%);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    color: #e2e8f0;
    box-shadow: var(--box-shadow-lg);
}

/* Outline */
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Others */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-hop {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hop:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Color */
.btn-red {
    background: linear-gradient(135deg, rgb(206, 67, 12), rgb(136, 7, 7));
}

.btn-blue {
    background: linear-gradient(135deg, #3b50af 0%, #764ba2 100%);
}

.btn-green {
    background: linear-gradient(135deg, #4bc085 0%, #175511 100%);
}

.btn-purple {
    background: linear-gradient(135deg, #9501b3, #3e4a77);
}

.btn-blue,
.btn-green,
.btn-red {
    color: white;
}


/* Cool Button */
.cool-button {
    display: inline-block;
    padding: 14px 25px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.cool-button:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #ffd700;
}

.cool-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Animated underline effect */
.cool-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff8c00, transparent);
    /* background: linear-gradient(90deg, #ffd700, #ff8c00); */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.cool-button:hover::after {
    width: 80%;
}

/* Gradient animation effect */
.cool-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cool-button:hover::before {
    left: 100%;
}


/* Modern Button */
.modern-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.modern-btn:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.modern-btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin-left: 10px;
}

.modern-btn-outline:hover {
    background: var(--color-primary);
    color: white;
}


/* -- Responsive -- */
@media (max-width: 768px) {


    .cool-button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }


}

@media (max-width: 480px) {
    .btn-container {
        /* flex-direction: column; */
        gap: 10px;
        align-items: center;

    }

    .btn,
    .cool-button {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}