/* WiFi Subscription Form Styles */
.wifi-subscription-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    direction: rtl;
    text-align: right;
}

.wifi-subscription-form h2 {
    color: #2d8659;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.wifi-form-row {
    margin-bottom: 20px;
}

.wifi-form-row label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.wifi-form-row input[type="text"],
.wifi-form-row input[type="tel"],
.wifi-form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    direction: rtl;
    text-align: right;
}

.wifi-form-row input[type="text"]:focus,
.wifi-form-row input[type="tel"]:focus,
.wifi-form-row select:focus {
    border-color: #2d8659;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.wifi-form-row select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.wifi-form-submit {
    text-align: center;
    margin-top: 30px;
}

.wifi-form-submit input[type="submit"] {
    background: linear-gradient(135deg, #2d8659 0%, #3aa76d 100%);
    color: #ffffff;
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

.wifi-form-submit input[type="submit"]:hover {
    background: linear-gradient(135deg, #246b47 0%, #2d8659 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

.wifi-form-submit input[type="submit"]:active {
    transform: translateY(0);
}

/* Loading spinner for dropdowns */
.wifi-form-row select option:first-child {
    color: #999;
}

/* Error messages */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wifi-subscription-form {
        padding: 20px;
    }
    
    .wifi-subscription-form h2 {
        font-size: 20px;
    }
    
    .wifi-form-row input[type="text"],
    .wifi-form-row input[type="tel"],
    .wifi-form-row select {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .wifi-form-submit input[type="submit"] {
        width: 100%;
        padding: 12px;
    }
}

/* RTL Support */
.wifi-subscription-form * {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Arial;
}

/* Speed selection styling */
.wifi-form-row select#speed option {
    padding: 10px;
}
