/* Enhanced button styling to match */
.button-group {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(47, 82, 51, 0.1);
    display: flex;
    justify-content: center;
    gap: 16px;
}

.button-primary {
    background: linear-gradient(135deg, #2F5233 0%, #1d3220 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(47, 82, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.button-primary::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;
}

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

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 82, 51, 0.4);
}

.button-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #2F5233;
    transform: none !important;
    box-shadow: none !important;
}

.button-primary:disabled:hover {
    background: #2F5233;
    transform: none !important;
    box-shadow: none !important;
}

.button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.button-primary {
    background: #2F5233;
    color: white;
}

.button-primary:hover {
    background: #1d3220;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 82, 51, 0.3);
}

/* Loading states for buttons */
.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.button-loading {
    position: relative;
    color: transparent !important;
}

.button-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.button-secondary {
    background: transparent;
    color: #2F5233;
    border: 2px solid #2F5233;
}

.button-secondary:hover {
    background: #2F5233;
    color: white;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }
}
