/* WhatsApp Message Sender Plugin Styles */
.wms-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.wms-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.wms-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.wms-input-group {
    margin-bottom: 20px;
    position: relative;
}

.wms-select,
.wms-input,
.wms-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.wms-select:focus,
.wms-input:focus,
.wms-textarea:focus {
    outline: none;
    border-color: #25d366;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
}

.wms-select::placeholder,
.wms-input::placeholder,
.wms-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.wms-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
}

.wms-select option {
    background: #2a2a2a;
    color: #ffffff;
    padding: 10px;
}

.wms-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.wms-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.wms-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wms-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2ee673 0%, #15a085 100%);
}

.wms-button:hover::before {
    left: 100%;
}

.wms-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .wms-container {
        margin: 10px;
        padding: 15px;
        border-radius: 16px;
    }
    
    .wms-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .wms-select,
    .wms-input,
    .wms-textarea {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .wms-button {
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .wms-container {
        margin: 5px;
        padding: 10px;
    }
    
    .wms-card {
        padding: 15px;
    }
    
    .wms-input-group {
        margin-bottom: 15px;
    }
}

/* Loading Animation */
.wms-loading {
    position: relative;
}

.wms-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: wms-spin 1s linear infinite;
}

@keyframes wms-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility Improvements */
.wms-select:focus-visible,
.wms-input:focus-visible,
.wms-textarea:focus-visible,
.wms-button:focus-visible {
    outline: 2px solid #25d366;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wms-container {
        background: #000000;
        border: 2px solid #ffffff;
    }
    
    .wms-card {
        background: #1a1a1a;
        border: 1px solid #ffffff;
    }
    
    .wms-select,
    .wms-input,
    .wms-textarea {
        background: #000000;
        border: 2px solid #ffffff;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .wms-select,
    .wms-input,
    .wms-textarea,
    .wms-button {
        transition: none;
    }
    
    .wms-button::before {
        display: none;
    }
    
    .wms-loading::after {
        animation: none;
    }
}

