/* Contact Form Styles */
.sp-register-wrapper {
    width: 100%;
    padding: 20px 0;
}

.sp-register-container {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sp-register-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sp-register-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sp-register-half {
    width: calc(50% - 7.5px);
}

.sp-register-wrap label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.sp-register-wrap input,
.sp-register-wrap textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sp-register-wrap input:focus,
.sp-register-wrap textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.sp-register-wrap textarea {
    min-height: 120px;
    resize: vertical;
}

.sp-rg-select-inner {
    position: relative;
}

.sp-register-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    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 15px center;
    background-size: 15px;
}

.sp-register-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.sp-register-btn button {
    margin-left: 15px;
}

@media (max-width: 767px) {
    .sp-register-half {
        width: 100%;
    }
    
    .sp-register-container {
        padding: 20px;
    }
}

/* Fix for the g-recaptcha alignment */
.g-recaptcha {
    margin-bottom: 15px;
}

/* Fix for contact info icons */
.sp-contact-detail .sp-box {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* New row-based layout for contact details */
.sp-contact-detail .detail-row {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 80px;
}

/* Icon column styling */
.sp-contact-detail .icon-col {
    width: 60px;
    flex-shrink: 0;
    z-index: 3;
}

.sp-contact-detail .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #4b5966;
    border-radius: 10%;
    margin-right: 15px;
}

.sp-contact-detail .contact-icon i {
    font-size: 22px;
    color: #ffffff;
}

/* Info column styling */
.sp-contact-detail .info-col {
    flex-grow: 1;
    padding-right: 10px;
    position: relative;
    z-index: 3;
}

.sp-contact-detail .contact-title {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.sp-contact-detail .contact-text {
    margin: 0;
    color: #666;
    word-break: break-word;
    font-size: 15px;
    line-height: 1.4;
}

/* Background icon column styling */
.sp-contact-detail .bg-icon-col {
    position: absolute;
    bottom: -15px;
    right: -15px;
    z-index: 1;
}

.sp-contact-detail .bg-icon-col i {
    font-size: 70px;
    opacity: 0.04;
    color: #555;
}

/* Ensure proper spacing between contact info boxes */
.sp-contact-detail .sp-box.m-b-30 {
    margin-bottom: 30px;
}
