.icon-inline {
  height: 1.1em;
  vertical-align: middle;
  margin-bottom: 0.15em;
  display: inline-block;
  pointer-events: none;
}

/* Contact Form Styles */
.contact-container {
    max-width: 650px;
    margin: 1.5rem auto;
}

.contact-card {
    background: rgba(127, 90, 240, 0.03);
    border: 1px solid rgba(127, 90, 240, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    opacity: 0.7;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: inherit;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

body.quarto-dark .form-group input,
body.quarto-dark .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #7f5af0;
    box-shadow: 0 0 0 4px rgba(127, 90, 240, 0.1);
    background: transparent;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7f5af0, #6246c9);
    color: white !important;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(127, 90, 240, 0.25);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 90, 240, 0.35);
}

.btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}

.contact-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
}