.preorder-tooltip {
  margin-top: 6px;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.4;
}

.preorder-tooltip-danger {
  color: #842029;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
}

.preorder-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 1px rgba(220,53,69,.25);
}
.preorder-timer-pro-features-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.preorder-timer-pro-features-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.preorder-timer-pro-features-display > * {
    position: relative;
    z-index: 1;
}

.preorder-timer-pro-features-display h2 {
    color: white;
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
}

.preorder-timer-pro-features-display p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.6;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.pro-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pro-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pro-feature-card h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.pro-feature-card h3::before {
    margin-right: 12px;
    font-size: 22px;
    width: 24px;
    display: inline-block;
    text-align: center;
}

.pro-feature-card.partial-payments h3::before {
    content: '💰';
}

.pro-feature-card.quantity-limits h3::before {
    content: '🔒';
}

.pro-feature-card.scheduled-preorder h3::before {
    content: '⏰';
}

.pro-feature-card.product-grid-badge h3::before {
    content: '🏷️';
}

.pro-feature-card.expiry-automation h3::before {
    content: '🤖';
}

.pro-feature-card.basic-analytics h3::before {
    content: '📊';
}

.pro-feature-card.full-customization h3::before {
    content: '🎨';
}

.pro-feature-card.advanced-expiry h3::before {
    content: '⚡';
}

.pro-feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.waitlist-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.waitlist-form h3 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
}



@media (max-width: 1200px) {
    .pro-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pro-features-grid {
        grid-template-columns: 1fr;
    }
    
    .preorder-timer-pro-features-display {
        padding: 20px;
    }
}

/* Free Settings Display Styles */
.preorder-timer-free-settings-display {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.free-settings-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.free-settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Enable section styling */
.enable-section {
    border-bottom: 2px solid #e1e5e9;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

/* Settings grid for 2-column layout */
.free-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.free-settings-grid .free-settings-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 20px;
    background: #fafafa;
}

.free-settings-section h3 {
    color: #23282d;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.free-settings-section h3::before {
    margin-right: 8px;
    font-size: 18px;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.free-settings-section:first-child h3::before {
    content: '⚙️';
}

.free-settings-section:nth-child(2) h3::before {
    content: '🎨';
}

.free-settings-section:nth-child(3) h3::before {
    content: '📝';
}

.free-settings-section:nth-child(4) h3::before {
    content: '⏰';
}

.free-settings-section:nth-child(5) h3::before {
    content: '💬';
}

.free-settings-section p {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.setting-field {
    margin-top: 10px;
}

/* Checkbox styling */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #23282d;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: #0073aa;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #0073aa;
    border-color: #0073aa;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Select field styling */
.select-field {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #23282d;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.select-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Text field styling */
.text-field {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #23282d;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.text-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Textarea field styling */
.textarea-field {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #23282d;
    background-color: #fff;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.textarea-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* PreOrder Timer Settings Container */
.preorder-timer-settings-container {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Setting Block Styling */
.preorder-timer-setting-block {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
    position: relative;
    transition: all 0.3s ease;
}

.preorder-timer-setting-block:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.preorder-timer-setting-block.enable-block {
    border-bottom: 2px solid #e1e5e9;
    background: #fff;
}

/* Setting Header */
.setting-header {
    margin-bottom: 15px;
}

.setting-header h3 {
    color: #23282d;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.setting-icon {
    margin-right: 8px;
    font-size: 18px;
    width: 20px;
    display: inline-block;
    text-align: center;
}

.setting-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Setting Control */
.setting-control {
    margin-top: 10px;
}

/* Simple Checkbox Styling */
.setting-control label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #23282d;
    font-weight: 500;
}

.setting-control input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #0073aa;
    cursor: pointer;
}

/* Settings Grid */
.preorder-timer-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Form Controls */
.setting-select,
.setting-input,
.setting-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #23282d;
    background-color: #fff;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.setting-select:focus,
.setting-input:focus,
.setting-textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.setting-textarea {
    resize: vertical;
    min-height: 60px;
}

@media (max-width: 768px) {
    .preorder-timer-settings-container {
        padding: 20px;
    }
    
    .preorder-timer-settings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .preorder-timer-setting-block {
        padding: 15px;
    }
    
    .setting-select,
    .setting-input,
    .setting-textarea {
        max-width: 100%;
    }
}

.join-waitlist-button {
    background: #ff6f61;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    width: 20%;
    text-align: center;
}

.join-waitlist-button:hover {
    background-color: transparent;
    color: #ff6f61;
    border: 1px solid #ff6f61;
}