File: /home/salamatk/www/wp-content/plugins/woodmart-plus/assets/css/confirm-phone-checkout.css
/* OTP Popup Styles */
.otp-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(5px);
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.otp-popup-container {
background: #fff;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
max-width: 450px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
animation: slideUp 0.3s ease-out;
direction: rtl;
text-align: right;
}
@keyframes slideUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.otp-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 25px 30px 15px;
border-bottom: 1px solid #f0f0f0;
}
.otp-popup-header h3 {
margin: 0;
font-size: 20px;
font-weight: 600;
color: #333;
}
.otp-close-btn {
background: none;
border: none;
font-size: 28px;
color: #999;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.2s ease;
}
.otp-close-btn:hover {
background: #f5f5f5;
color: #666;
}
.otp-popup-body {
padding: 30px;
text-align: center;
}
/* Loading Styles */
.otp-loading {
padding: 40px 20px;
}
.otp-spinner {
width: 50px;
height: 50px;
border: 4px solid #f3f3f3;
border-top: 4px solid var(--wd-primary-color,#4CAF50);
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.otp-loading p {
color: #666;
font-size: 16px;
margin: 0;
}
/* OTP Form Styles */
.otp-icon {
margin-bottom: 20px;
}
.otp-message {
color: #666;
font-size: 16px;
margin-bottom: 30px;
line-height: 1.5;
}
#phone-number-display {
font-weight: 600;
color: var(--wd-primary-color,#4CAF50);
}
/* OTP Input Styles */
.otp-input-container {
margin-bottom: 25px;
}
.otp-input {
width: 100%;
height: 60px;
border: 2px solid #e0e0e0;
border-radius: 12px;
font-size: 24px;
font-weight: 600;
text-align: center;
letter-spacing: 8px;
padding: 0 20px;
box-sizing: border-box;
transition: all 0.3s ease;
font-family: 'Courier New', monospace;
direction: ltr;
}
.otp-input:focus {
outline: none;
border-color: var(--wd-primary-color,#4CAF50);
box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.otp-input::placeholder {
color: #ccc;
letter-spacing: 8px;
}
/* Timer Styles */
.otp-timer {
margin-bottom: 25px;
color: #666;
font-size: 14px;
}
#countdown_confirm {
color: var(--wd-primary-color,#4CAF50);
font-weight: 600;
font-size: 16px;
}
/* Button Styles */
.otp-submit-btn {
width: 100%;
height: 50px;
background: var(--wd-primary-color,#4CAF50);
color: white;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 15px;
}
.otp-submit-btn:hover:not(:disabled) {
background: var(--wd-primary-color,#4CAF50);
color : white !important;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}
.otp-submit-btn:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.otp-resend-btn {
width: 100%;
height: 45px;
background: transparent;
color: var(--wd-primary-color,#4CAF50);
border: 2px solid var(--wd-primary-color,#4CAF50);
border-radius: 12px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.otp-resend-btn:hover {
background: var(--wd-primary-color,#4CAF50);
color: white;
}
/* Error Styles */
.otp-error {
background: #ffebee;
border: 1px solid #ffcdd2;
border-radius: 12px;
padding: 20px;
margin-top: 20px;
}
.error-icon {
font-size: 24px;
margin-bottom: 10px;
}
.otp-error p {
color: #d32f2f;
margin: 0;
font-size: 14px;
}
/* Success Styles */
.otp-success {
background: #e8f5e8;
border: 1px solid #c8e6c9;
border-radius: 12px;
padding: 20px;
margin-top: 20px;
}
.success-icon {
font-size: 24px;
margin-bottom: 10px;
}
.otp-success p {
color: #2e7d32;
margin: 0;
font-size: 14px;
}
/* Responsive Design */
@media (max-width: 768px) {
.otp-popup-container {
width: 95%;
margin: 20px;
}
.otp-popup-header {
padding: 20px 25px 15px;
}
.otp-popup-header h3 {
font-size: 18px;
}
.otp-popup-body {
padding: 25px 20px;
}
.otp-input {
height: 55px;
font-size: 20px;
letter-spacing: 6px;
}
.otp-submit-btn {
height: 48px;
font-size: 15px;
}
}
@media (max-width: 480px) {
.otp-popup-container {
width: 98%;
margin: 10px;
border-radius: 15px;
}
.otp-popup-header {
padding: 15px 20px 10px;
}
.otp-popup-body {
padding: 20px 15px;
}
.otp-input {
height: 50px;
font-size: 18px;
letter-spacing: 4px;
}
.otp-submit-btn {
height: 45px;
font-size: 14px;
}
}
/* Animation for input focus */
.otp-input-container {
position: relative;
}
.otp-input-container::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
width: 0;
height: 2px;
background: var(--wd-primary-color,#4CAF50);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.otp-input:focus + .otp-input-container::after,
.otp-input-container:focus-within::after {
width: 100%;
}