/* Style for the copy button */
.smcopybtn {
    background: linear-gradient(145deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: 2px solid #ddd;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-left: auto; /* This will push the button to the right */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: block;
}

.smcopybtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    background: linear-gradient(145deg, #2575fc 0%, #6a11cb 100%);
    border-color: #6a11cb;
}

.smcopybtn:active {
    transform: translateY(1px);
}

.smcopybtn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.smcopybtn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Add a checkmark after copying */
.smcopybtn.copied::before {
    
    margin-right: 5px;
}

p.status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #80808026;
    padding: 15px;
    border-radius: 8px;
    flex-wrap: wrap; /* For responsive design */
}

.statusimage {
    text-align: center;
}

button.smdownloadbtn {
    bottom: 0;
    background: #263b8e;
    color: #fff;
    width: 50%;
    margin-top: 10px;
    border-radius: 5px;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

button.smdownloadbtn:hover {
    background: red;
}

/* Responsive design for mobile devices */
@media screen and (max-width: 768px) {
    p.status {
        flex-direction: column;
        align-items: stretch;
    }
    
    .smcopybtn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    button.smdownloadbtn {
        width: 100%;
    }
}

.statusimage {
    text-align: center;
}

button.smdownloadbtn {
    bottom: 0;
    background: #263b8e;
    color: #fff;
    width: 50%;
    margin-top: 10px;
}

button.smdownloadbtn:hover {
    background: red;
}

