/* Button container */
.btn-create {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem !important;
    /* padding: 12px 20px; */
    border-radius: 50px;
    background-color: #3a3a3a;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); */
    width: 100% !important;
    max-width: 100% !important;
}

/* Button hover effect */
.btn-create:hover {
    background-color: #3a3a3a;
    color: white !important;
}

/* Icon container */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f04e30;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Rotate icon on hover */
.btn-create:hover .btn-icon {
    transform: rotate(-90deg);
}

/* SVG icon */
.btn-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Responsive Design */
@media (max-width: 480px) {
    .btn-create {
        font-size: 14px;
        padding: 10px 16px;
    }
    .btn-icon {
        width: 35px;
        height: 35px;
    }
    .btn-icon svg {
        width: 20px;
        height: 20px;
    }
}
/* Base button styles */
.btn-custom {
    background-color: #e7684c !important;
    border-radius: 3rem !important;
    border: none !important;
    outline: none !important;
    padding: 1.1rem 2.5rem 1.1rem 2.5rem !important;
    color: #fff !important;
    font-weight: bold !important;
}

/* Base button styles */
.btn-custom-hover {
    background-color: transparent !important;
    border-radius: 3rem !important;
    border: #e7684c 0.2rem solid !important;
    outline: none !important;
    padding: 1.1rem 2.5rem 1.1rem 2.5rem !important;
    color: #fff !important;
    font-weight: bold !important;
    transition: all 0.3s ease-in-out;
    /* Smooth transition for all properties */
    box-sizing: border-box;
    /* Ensures padding doesn't affect width/height */
}

/* Hover effect */
.btn-custom-hover:hover {
    background-color: #e7684c !important;
    color: #fff !important;
    transform: scale(1);
    /* No scaling on hover */
    box-shadow: 0 5px 15px rgba(231, 104, 76, 0.5);
    transition: all 0.3s ease-in-out;
    /* Ensure no height/width change on hover */
}

/* BUTTON DARK */

.dark-mode .btn-dark {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0);
    /* Initial shadow (invisible) */
}

.dark-mode .btn-dark::before,
.dark-mode .btn-dark::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    transition: all 0.5s ease, box-shadow 0.3s ease;
}

.dark-mode .btn-dark::before {
    top: 0;
    left: 0;
    border-top: 3px solid #2ea64a;
    /* border-radius: 50rem !important; */
    border-left: 3px solid #2ea64a;
    transform: scale(0.5);
    transform-origin: top left;
}

.dark-mode .btn-dark::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #2ea64a;
    /* border-radius: 50rem !important; */
    border-right: 3px solid #2ea64a;
    transform: scale(0.5);
    transform-origin: bottom right;
}

.dark-mode .btn-dark:hover {
    color: #ffffff;
    /* Change text color to golden yellow */
    background-color: #222222;
    /* Slightly lighten the background */
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.7);
    /* Add a glowing effect */
}

.dark-mode .btn-dark:hover::before,
.dark-mode .btn-dark:hover::after {
    transform: scale(1);
    border-color: #2ea64a;
    /* Change border color to golden yellow */
    box-shadow: 0 0 5px #2ea64a;
    /* Add glow to the borders */
}
