/* Primary button */
.btn-new-primary {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
    border: none;
    padding: 8px 20px; /* reduced padding */
    font-size: 0.95rem; /* smaller font */
    border-radius: 40px; /* slightly smaller radius */
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
   /*  text-transform: uppercase; */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* smaller gap between icon and text */
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-new-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: all 0.75s ease-in-out;
    z-index: 0;
}

.btn-new-primary:hover::before {
    left: 100%;
}

.btn-new-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-new-primary i {
    font-size: 1rem; /* slightly smaller icon */
}


/* Secondary button */
.btn-new-secondary {
    background: linear-gradient(135deg, #6c757d, #adb5bd); /* gray gradient */
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3); /* gray shadow */
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-new-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: all 0.75s ease-in-out;
    z-index: 0;
}

.btn-new-secondary:hover::before {
    left: 100%;
}

.btn-new-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-new-secondary i {
    font-size: 1rem;
}


/* Success button */
.btn-new-success {
    background: linear-gradient(135deg, #28a745, #42d392); /* green gradient */
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3); /* green shadow */
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-new-success::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: all 0.75s ease-in-out;
    z-index: 0;
}

.btn-new-success:hover::before {
    left: 100%;
}

.btn-new-success:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-new-success i {
    font-size: 1rem;
}


/* Danger button */
.btn-new-danger {
    background: linear-gradient(135deg, #dc3545, #ff6b6b); /* red gradient */
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3); /* red shadow */
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-new-danger::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: all 0.75s ease-in-out;
    z-index: 0;
}

.btn-new-danger:hover::before {
    left: 100%;
}

.btn-new-danger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-new-danger i {
    font-size: 1rem;
}



/* Warning button */
.btn-new-warning {
    background: linear-gradient(135deg, #ffc107, #ff9800); /* yellow-orange gradient */
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3); /* yellow shadow */
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-new-warning::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 150%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: all 0.75s ease-in-out;
    z-index: 0;
}

.btn-new-warning:hover::before {
    left: 100%;
}

.btn-new-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-new-warning i {
    font-size: 1rem;
}
