* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.yesraj-contact-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    padding: 30px;
    margin: 0 auto;
}

.yesraj-contact-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.yesraj-contact-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 8px;
}

.yesraj-contact-option {
    background-color: #2c5aa0;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.yesraj-contact-option:hover {
    background-color: #1e3d6f;
}

.yesraj-contact-option.active {
    background-color: #4CAF50;
}

.yesraj-form-group {
    margin-bottom: 20px;
}

.yesraj-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.yesraj-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.yesraj-form-control:focus {
    border-color: #2c5aa0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.yesraj-phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yesraj-country-code {
    flex: 0 0 120px;
}

.yesraj-phone-field {
    flex: 1;
}

.yesraj-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.yesraj-form-row .yesraj-form-group {
    flex: 1;
    margin-bottom: 0;
}

.yesraj-submit-btn {
    background-color: #2c5aa0;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    position: relative;
}

.yesraj-submit-btn:hover {
    background-color: #1e3d6f;
}

.yesraj-submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.yesraj-submit-btn.loading {
    color: transparent;
}

.yesraj-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: yesraj-spin 0.8s ease infinite;
}

@keyframes yesraj-spin {
    to {
        transform: rotate(360deg);
    }
}

.yesraj-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
    font-weight: 500;
}

.yesraj-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.yesraj-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.yesraj-form-tab {
    display: none;
}

.yesraj-form-tab.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .yesraj-contact-container {
        padding: 20px;
        margin: 10px;
    }
    
    .yesraj-contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .yesraj-contact-options {
        flex-direction: column;
    }
    
    .yesraj-contact-option {
        min-width: 100%;
        margin-bottom: 5px;
    }
    
    .yesraj-form-control {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .yesraj-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .yesraj-form-row .yesraj-form-group {
        margin-bottom: 20px;
    }
    
    .yesraj-phone-input {
        flex-direction: column;
        gap: 10px;
    }
    
    .yesraj-country-code {
        flex: 1;
        width: 100%;
    }
    
    .yesraj-phone-field {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .yesraj-contact-container {
        padding: 15px;
    }
    
    .yesraj-contact-title {
        font-size: 22px;
    }
    
    .yesraj-submit-btn {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* WordPress specific adjustments */
.wp-admin .yesraj-contact-container {
    max-width: 100%;
}

/* Additional styles for address fields */
.yesraj-address-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.yesraj-address-row .yesraj-form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .yesraj-address-row {
        flex-direction: column;
        gap: 0;
    }
    
    .yesraj-address-row .yesraj-form-group {
        margin-bottom: 15px;
    }
}