#rtx-form,
#rtx-form * {
    /* margin: 0;
    padding: 0; */
    box-sizing: border-box;
}

#rtx-form .rtx-form-title {
    margin: 30px 0 15px;
}

#rtx-form label,
#rtx-form .file-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1;
}

#rtx-form input[type="text"],
#rtx-form input[type="number"],
#rtx-form input[type="date"],
#rtx-form input[type="email"],
#rtx-form input[type="password"],
#rtx-form textarea,
#rtx-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s ease;
    min-height: 60px;
}

#rtx-form input[type="text"]:focus,
#rtx-form input[type="date"]:focus,
#rtx-form input[type="email"]:focus,
#rtx-form textarea:focus,
#rtx-form select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

#rtx-form textarea {
    min-height: 100px;
    resize: vertical;
}

#rtx-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    width: 100%;
    max-width: 100%;
}

#rtx-form .dual-role {
    display: none;
}

#rtx-form .role-select {
    margin-top: 10px;
}



#rtx-form .rtx-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#rtx-form .rtx-form-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

#rtx-form .file-input-container {
    position: relative;
}

#rtx-form .file-input-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px dashed #bdc3c7;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 60px;
}

#rtx-form .file-input-label:hover {
    border-color: #3498db;
    background-color: rgba(52, 152, 219, 0.05);
}

#rtx-form .file-input-label svg {
    margin-right: 10px;
    color: #3498db;
}

#rtx-form .file-input {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
}

#rtx-form .file-name {
    margin-top: 5px;
    font-size: 14px;
    color: #7f8c8d;
}

@media (max-width: 768px) {

    #rtx-form .rtx-form-row {
        flex-direction: column;
        gap: 15px;
    }

    #rtx-form .rtx-form-col {
        width: 100%;
    }
}