/* Google OAuth Sign-In Button */
.tmkt-google-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid #dadce0;
    background-color: #fff;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    gap: 12px;
}

.tmkt-google-signin:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 3px 1px rgba(66, 133, 244, 0.15);
}

.tmkt-google-signin:active {
    background-color: #f1f3f4;
}

.tmkt-google-signin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tmkt-google-signin svg {
    width: 20px;
    height: 20px;
}

/* OAuth/Login Container */
.tmkt-oauth-container {
    margin: 20px 0;
}

.tmkt-oauth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 12px;
}

.tmkt-oauth-divider::before,
.tmkt-oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #dadce0;
}

.tmkt-oauth-divider span {
    color: #5f6368;
    font-size: 14px;
}

/* Profile Completion Form */
#tmkt-profile-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#tmkt-profile-form h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 24px;
    text-align: center;
}

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

.tmkt-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.tmkt-form-group label .required {
    color: #dc2626;
}

.tmkt-form-group input,
.tmkt-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tmkt-form-group input:focus,
.tmkt-form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tmkt-form-group input.tmkt-field-invalid {
    border-color: #dc2626;
}

.tmkt-form-group input.tmkt-field-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.tmkt-field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Form Buttons */
#tmkt-profile-form button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#tmkt-profile-form button[type="submit"] {
    background-color: #3b82f6;
    color: white;
}

#tmkt-profile-form button[type="submit"]:hover:not(:disabled) {
    background-color: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

#tmkt-profile-form button[type="submit"]:active:not(:disabled) {
    background-color: #1d4ed8;
}

#tmkt-profile-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#tmkt-profile-form button[type="reset"] {
    background-color: #e5e7eb;
    color: #374151;
}

#tmkt-profile-form button[type="reset"]:hover {
    background-color: #d1d5db;
}

/* Helper Text */
.tmkt-helper-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Error/Success Messages */
.tmkt-error-message {
    padding: 12px 16px;
    margin-bottom: 20px;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #dc2626;
    font-size: 14px;
    display: none;
}

.tmkt-success-message {
    padding: 12px 16px;
    margin-bottom: 20px;
    background-color: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 4px;
    color: #059669;
    font-size: 14px;
}

/* Loading States */
.tmkt-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 640px) {
    #tmkt-profile-form {
        margin: 20px;
        padding: 20px;
    }
    
    .tmkt-google-signin {
        width: 100%;
        min-width: auto;
    }
    
    .tmkt-oauth-divider {
        margin: 16px 0;
    }
}