/* GCheck Contact Form WordPress Plugin Styles */

.gcheck-contact-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.gcheck-contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.gcheck-contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.gcheck-contact-header h1 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

.gcheck-contact-header p {
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.gcheck-form-group {
    margin-bottom: 12px;
    position: relative;
}

.gcheck-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
}

.gcheck-form-group input,
.gcheck-form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.gcheck-form-group input:focus,
.gcheck-form-group select:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gcheck-form-group input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.gcheck-form-group input.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.gcheck-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.gcheck-error-message.show {
    display: block;
}

.gcheck-form-group 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='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
}

.gcheck-disclaimer {
    padding: 0;
    margin: 15px 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.gcheck-submit-btn {
    width: 100%;
    background: #4F51FD;
	transition: all 1s ease 0s;
    color: #FFFFFF;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gcheck-submit-btn:hover:not(:disabled) {
    background: #3FC5FD;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.gcheck-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gcheck-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: gcheck-spin 1s linear infinite;
    margin-right: 10px;
}

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

.gcheck-message {
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    display: none;
}

.gcheck-message.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.gcheck-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.gcheck-message.show {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gcheck-contact-container {
        padding: 24px;
        margin: 10px;
        border-radius: 12px;
    }

    .gcheck-contact-header h1 {
        font-size: 2rem;
    }

    .gcheck-contact-header p {
        font-size: 1rem;
    }

    .gcheck-form-group input,
    .gcheck-form-group select {
        padding: 14px;
    }

    .gcheck-submit-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gcheck-contact-container {
        padding: 20px;
        margin: 10px 5px;
    }

    .gcheck-contact-header h1 {
        font-size: 1.75rem;
    }
}