body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    width: 100%;
    min-height: 100vh;
}

#contact-section {
    padding: 50px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 212, 255, 0.2);
    animation: fade-in 1s ease-out;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

#form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 46, 0.7) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

.main_heading {
    text-align: center;
    font-size: 24px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.input-group label {
    width: 140px;
    padding-top: 10px;
    text-align: left;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

input, textarea {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

input:focus, textarea:focus {
    border-color: #00d4ff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    background: rgba(0, 0, 0, 0.7);
}

textarea {
    height: 140px;
}

#messageContainer {
    /* let container size to content and only cap its max height */
    min-height: 0;
    max-height: 480px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

#prefixSpan {
    user-select: none;
    pointer-events: none;
}

/* Make the editable user area appear as plain text (no inner boxed input look) */
#userSpan {
    padding: 0;
    margin: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    display: block;
    width: 100%;
    color: #ffffff;
    min-height: 20px;
}

/* make user text wrap and allow the span to grow/shrink */
#userSpan {
    white-space: pre-wrap;
    word-break: break-word;
    flex: 0 1 auto;
}

/* Ensure caret is visible and text flows naturally */
#userSpan:focus {
    outline: none;
}

button {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

button:hover::before {
    opacity: 1;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, #33e0ff 0%, #00ccff 100%);
}

#form-response {
    margin-top: 20px;
    font-size: 16px;
    color: #00d4ff;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(5px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Radio button styling */
input[type="radio"] {
    accent-color: #00d4ff;
    margin-right: 5px;
}

input[type="radio"] + label {
    color: #ffffff;
    margin-right: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

input[type="radio"] + label:hover {
    color: #00d4ff;
}

.roll-input-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.roll-prefix, .roll-suffix {
    color: #ffffff;
    font-size: 16px;
    padding: 12px;
    background: transparent;
    border: none;
    margin: 0;
}

.roll-input-container select {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #ffffff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.roll-input-container select:focus {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 5px rgba(0, 212, 255, 0.5);
}

.roll-input-container select option {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.recipient-input-container {
    display: flex;
    align-items: center;
    width: 50ch;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.recipient-input-container select {
    background: transparent;
    border: none;
    border-radius: 0;
    color: #ffffff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.recipient-input-container select:focus {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: inset 0 0 5px rgba(0, 212, 255, 0.5);
}

.recipient-input-container select option {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}