body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    margin: 0;
    background: white;
    line-height: 1.5;
    color: #333;
}

#userForm {
    width: 100%;
    max-width: 400px;
}

/* Professional header styling */
#intro {
    text-align: center;
    margin-bottom: 5px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

#intro h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

#intro p {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
}

#F {
    font-size: 12px;
    color: #555;
    font-weight: 500;
    margin-top: 5px;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #F97339;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

button { 
    font-size: 18px; 
    font-weight: 600;
    padding: 14px 24px;
    cursor: pointer; 
    border-radius: 50px;
    border: none;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.start-call { 
    background: #F97339;
    color: black;
}

.start-call:hover:not(:disabled) {
    transform: translateY(-2px);
}

.end-call { 
    background:rgb(255, 0, 0);
    color: black;
}

.end-call:hover:not(:disabled) {
    transform: translateY(-2px);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.grecaptcha-badge { 
    visibility: hidden; 
}

/* Professional consent styling */
#consent {
    margin: 0;
    padding: 5px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
}

#consent input[type="checkbox"] {
    width: auto;
    margin: 4px 12px 0 0;
    flex-shrink: 0;
}

#consent label {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
}

#consent label strong {
    color: #333;
}

/* Loading animation */
.loading {
    background:rgb(244, 177, 148);
}
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error message styling */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    text-align: center;
    display: none;
}

/* Success message styling */
.success-message {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    text-align: center;
    display: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    button {
        font-size: 16px;
        padding: 12px 18px;
    }
    input {
        font-size: 14px;
        padding: 10px;
    }
    #intro {
        padding: 15px 0;
    }
    #intro h2 {
        font-size: 22px;
    }
    #consent {
        padding: 12px;
    }
    #consent label {
        font-size: 12px;
    }
}
