#wc-back-in-stock-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    direction: rtl;
}

.wc-back-in-stock-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wc-back-in-stock-guest {
    width: 100%;
}

.wc-back-in-stock-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: left;
    direction: ltr;
    transition: border-color 0.3s ease;
}

.wc-back-in-stock-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

.wc-back-in-stock-input::placeholder {
    direction: rtl;
    text-align: right;
    color: #999;
}

.wc-back-in-stock-button {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wc-back-in-stock-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.wc-back-in-stock-button:active {
    transform: translateY(0);
}

.wc-back-in-stock-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.wc-back-in-stock-message {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    animation: slideDown 0.3s ease;
}

.wc-back-in-stock-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wc-back-in-stock-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wc-back-in-stock-button {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .wc-back-in-stock-input {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* RTL Support */
.rtl .wc-back-in-stock-input {
    text-align: right;
    direction: rtl;
}

.rtl .wc-back-in-stock-input::placeholder {
    text-align: right;
}