[x-cloak] {
    display: none !important;
}

.payamito-plus-instock-notify-form-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #111827;
    border-radius: 0.375rem; /* 6px */
}

.payamito-plus-instock-notify-form-container h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

.payamito-plus-instock-notify-form-container p {
    margin: 0 !important;
    font-size: 0.785rem;
    color: #d1d5db;
}

#payamito-plus-instock-notify-response p {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.375rem; /* 6px */
}

#payamito-plus-instock-notify-response p.success {
    background-color: #f0fdf4;
    border-right: 4px solid #166534;
    color: #166534;
}

#payamito-plus-instock-notify-response p.error {
    background-color: #fef2f2;
    border-right: 4px solid #991b1b;
    color: #991b1b;
}

#payamito-plus-instock-notify-response p.warning {
    background-color: #FEFCE8;
    border-right: 4px solid #854D0E;
    color: #854D0E;
}

#payamito-plus-instock-notify-response p.pending {
    background-color: #eff6ff;
    border-right: 4px solid #1d4ed8;
    color: #1d4ed8;
}

#payamito-plus-instock-notify-change-phone-btn {
    padding: 0.5rem 1rem;
    background-color: rgba(99, 102, 241, 1); /* #6366F1 */
    color: white;
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    border-radius: 0.375rem; /* 6px */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border: none;
}

#payamito-plus-instock-notify-change-phone-btn:hover {
    background-color: rgba(129, 140, 248, 1); /* #818CF8 */
}

#payamito-plus-instock-notify-change-phone-btn:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 1); /* #6366F1 */
    outline-offset: 2px;
}

#payamito-plus-instock-notify-change-phone-btn:disabled {
    background-color: rgba(209, 213, 219, 1); /* #D1D5DB */
    color: rgba(107, 114, 128, 1); /* #6B7280 */
    cursor: not-allowed;
}

#payamito-plus-instock-notify-change-phone-btn:disabled:hover {
    background-color: rgba(209, 213, 219, 1); /* #D1D5DB */
}

#payamito-plus-instock-notify-change-phone-btn:focus {
    background-color: rgba(79, 70, 229, 1); /* #4F46E5 */
}

.payamito-plus-instock-notify-form {
    display: flex;
    width: 100%;
    gap: 1rem;
}

.payamito-plus-hidden {
    display: none;
    transition: all 0.3s;
}

.payamito-plus-unhidden {
    display: flex;
    transition: all 0.3s;
}

.payamito-plus-instock-notify-form .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.payamito-plus-instock-notify-form input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.875rem; /* 8px 14px */
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.375rem; /* 6px */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem; /* 14px */
    line-height: 1.5rem; /* 24px */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.payamito-plus-instock-notify-form input.error {
    border: 2px solid rgba(239, 68, 68, 1); /* #EF4444 */
}

.payamito-plus-instock-notify-form input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 1); /* #6366F1 */
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

.payamito-plus-instock-notify-form button {
    padding: 0.625rem 0.875rem; /* 10px 14px */
    background-color: rgba(99, 102, 241, 1); /* #6366F1 */
    color: white;
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    border-radius: 0.375rem; /* 6px */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border: none;
}

.payamito-plus-instock-notify-form button:hover {
    background-color: rgba(129, 140, 248, 1); /* #818CF8 */
}

.payamito-plus-instock-notify-form button:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 1); /* #6366F1 */
    outline-offset: 2px;
}

.payamito-plus-instock-notify-form button:disabled {
    background-color: rgba(209, 213, 219, 1); /* #D1D5DB */
    color: rgba(107, 114, 128, 1); /* #6B7280 */
    cursor: not-allowed;
}

.payamito-plus-instock-notify-form button:disabled:hover {
    background-color: rgba(209, 213, 219, 1); /* #D1D5DB */
}

.payamito-plus-instock-notify-form button:focus {
    background-color: rgba(79, 70, 229, 1); /* #4F46E5 */
}

.payamito-plus-instock-notify-form button:focus:hover {
    background-color: rgba(99, 102, 241, 1); /* #6366F1 */
}

@media (max-width: 600px) {
    .payamito-plus-instock-notify-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    #payamito-plus-instock-notify-change-phone-btn {
        width: 100%;
    }
}
