#urgency-countdown-widgets-for-woocommerce {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 250px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

/* .wrap {
    padding: 20px;
} */

.wp-heading-inline {
    font-size: 24px;
    margin-bottom: 20px;
}

.add-widget-btn {
    font-size: 16px;
    padding: 10px 20px;
    margin: 10px 0;
    display: inline-block;
}

/* .wp-header-end {
    margin: 20px 0;
} */

.widget-section-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.no-widgets {
    font-size: 16px;
    color: #777;
}

.widget-list {
    list-style: none;
    padding: 0;
}

.widget-item {
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.widget-item:hover {
    background-color: #f0f0f0;
}

.widget-link {
    color: #0073aa;
    text-decoration: none;
    display: block;
    font-size: 18px;
}

.widget-link:hover {
    color: #005a8e;
    text-decoration: underline;
}

.widget-title {
    font-weight: bold;
}

.sticky-form-container {
    position: fixed;
    top: 50px; /* Adjust based on your preference */
    right: 20px; /* Adjust the right position as needed */
    max-width: 600px; /* Optional: You can set a max-width for better control */
    background-color: #fff; /* Optional: Add background color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    padding: 20px;
    z-index: 999;
    /* max-height: 600px !important; */
    overflow: auto !important;
}

.widget-list {
    list-style: none;
    padding: 0;
}

.widget-item {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 6px;
}

.widget-link {
    flex-grow: 1; /* Pushes the delete button to the right */
    text-decoration: none;
    font-weight: bold;
    color: #0073aa;
}

.delete-form {
    margin: 0;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.delete-button:hover {
    background-color: #c82333;
}


.widget-list {
    list-style: none;
    padding: 0;
}
.widget-item {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}
.widget-title {
    font-weight: bold;
}
.delete-button {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
}



/* General Layout */
.urgency-wrap {
    margin-top: 20px;
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.urgency-heading-primary {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.urgency-heading-secondary {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    /* margin-bottom: 10px; */

}

/* Flex Layout for Existing Timers and Form */
.urgency-flex-container {
    display: flex;
    gap: 20px;
}

/* Left Panel (Existing Timers) */
.urgency-left-panel {
    width: 40%;
    border-right: 1px solid #ccc;
    padding-right: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.urgency-timer-list {
    list-style-type: none;
    padding: 0;
}

.urgency-timer-item {
    background-color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    display: flex;
    justify-content: space-between; /* Ensure proper spacing between content and actions */
    align-items: flex-start;
}

.urgency-timer-details {
    flex: 1;
}

.urgency-timer-actions {
    text-align: right;
    margin-top: 5px;
}

.urgency-action-edit,
.urgency-action-delete {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.urgency-action-edit:hover,
.urgency-action-delete:hover {
    text-decoration: underline;
}

/* Right Panel (Form for Adding/Editing Timer) */
.urgency-right-panel {
    width: 60%;
    height: 0%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.urgency-form-table {
    width: 100%;
    border-spacing: 10px;
    margin-top: 20px;
}

.urgency-form-table th {
    text-align: left;
    padding-right: 15px;
    font-weight: bold;
    font-size: 14px;
}

.urgency-form-table td {
    font-size: 14px;
}

/* Form Input Fields */
.urgency-form-input,
.urgency-form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
}

.urgency-form-input:focus,
.urgency-form-select:focus {
    border-color: #0073aa;
    outline: none;
}

/* Button Styling */
.urgency-button-primary {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.urgency-button-primary:hover {
    background-color: #005a8d;
}

/* Styling for Action Links (Edit, Delete) */
.urgency-timer-actions a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

.urgency-timer-actions a:hover {
    text-decoration: underline;
}

/* Timer Message and Countdown Style */
.urgency-countdown-message {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Countdown Timer Layout */
.urgency-countdown-timer {
    font-size: 30px;
    font-weight: bold;
    color: #d9534f;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}

.urgency-countdown-offer-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.urgency-countdown-offer-button:hover {
    background-color: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .urgency-flex-container {
        flex-direction: column;
    }

    .urgency-left-panel,
    .urgency-right-panel {
        width: 100%;
    }
}

@media (max-width: 1648px) {
    .sticky-form-container {
        position: relative;
        top: 0px;   
        left: 25px;
    }
}





/* new */
.urgency-randomization {
    width: 94%;
}

/* .wc-urgency-randomization-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
} */

.urgency-randomization-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.urgency-randomization-toggle input {
    display: none;
}

.urgency-randomization-slider {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    transition: 0.4s;
}

.urgency-randomization-slider:before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .urgency-randomization-slider {
    background-color: #2196F3;
}

input:checked + .urgency-randomization-slider:before {
    transform: translateX(20px);
}

.urgency-randomization-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 100%;
}

.urgency-randomization-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.urgency-inputs {
    display: flex;
    gap: 10px;
}

.urgency-inputs input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.urgency-randomization-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    text-align: center;
}








.urgency-container {
    display: flex;
    gap: 20px;
}

.urgency-countdown-widgets-for-woocommerce-list {
    width: 30%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.urgency-countdown-widgets-for-woocommerce-list ul {
    list-style: none;
    padding: 0;
}

.urgency-countdown-widgets-for-woocommerce-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.urgency-countdown-widgets-for-woocommerce-list .delete {
    color: red;
}

.urgency-randomization-card {
    width: 65%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
} 



/* //setting */
.wc-setting-field {
    display: flex;
    align-items: center;
    gap: 8px; /* Spacing between input/select and tooltip */
    position: relative;
}

.setting-help-tip {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    background: #555;
    color: #fff;
    /* cursor: help; */
    position: relative;
}

.setting-help-tip::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    top: -35px; /* Moves tooltip above the icon */
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

.setting-help-tip:hover::after {
    opacity: 1;
    visibility: visible;
}


/* countdown css */
.fade {
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.bounce {
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.zoom {
    animation: zoomInOut 1.5s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.slide {
    animation: slideInOut 1.5s ease-in-out infinite;
}

@keyframes slideInOut {
    0% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(-10px); }
}


