.wpds-container {
    width: 100%;
    max-width: 100%;
    margin: auto;
    text-align: center;
    padding: 85px 20px;
    position: relative; /* Ensures sticky button works */
}

.wpds-card a {
    text-decoration: none; /* Removes underline */
    color: #333; /* Default text color */
    transition: color 0.3s ease-in-out;
}

.wpds-card h3:hover {
    color: #FFC001; /* Change color on hover */
}

#domainSearch {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 14px; /* Smaller font size */
    border: 2px solid #ccc;
    border-radius: 5px;
}

.wpds-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.wpds-card {
    padding: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: calc(20%);
    text-align: left; /* Align text properly */
    transition: 0.3s;
    display: flex;
    align-items: center; /* Align elements in a row */
    position: relative;
    justify-content: space-between;
}

/* Checkbox styling */
input.domain-checkbox {
    margin-right: 8px; /* Space between checkbox and text */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Domain name text */
.wpds-card h3 {
    font-size: 16px;
    font-weight: bold;
    word-break: break-word;
    font-family: sans-serif;
    margin: 0;
    flex-grow: 1; /* Makes the text take available space */
}

/* Copy button styling */
.copy-single {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 15px;
    margin-left: 8px;
}

/* Tooltip */
.copy-single::after {
    content: "Copy Domain";
    position: absolute;
    bottom: 130%; /* Moves tooltip higher */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999; /* Ensures tooltip stays on top */
}

.copy-single:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Hover effect */
.wpds-card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Sticky Copy Selected Domains button */
#copySelectedButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: black;color:white;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    display: none; /* Only show when checkboxes are selected */
    z-index: 10000; /* Ensure it stays on top */
}

#copySelectedButton:hover {
    background: #e0a800;
}

/* Responsive: Show 2 per row on smaller screens */
@media (max-width: 768px) {
    .wpds-card {
        width: calc(50% - 10px);
    }
}

/* Responsive: Show 1 per row on mobile */
@media (max-width: 480px) {
    .wpds-card {
        width: 100%;
    }

    #copySelectedButton {
        right: 10px;
        bottom: 10px;
        font-size: 14px;
        padding: 10px 12px;
    }
}
/* Toast Notification */
.wpds-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 9999;
}

/* Toast visible */
.wpds-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Success Toast */
.wpds-toast-success {
    background-color: #28a745;
}

/* Warning Toast */
.wpds-toast-warning {
    background-color: #ff9800;
}
