/* =========================================================
   RD3 CONTACT FORM
   Bootstrap-style components
   Scoped to .rd3-form-container
   ========================================================= */

/* =========================================================
   RD3 TECH
   Apps Form
   =========================================================

   Form component styling

   Based on:
   RD3 Tech Bootstrap

   Primary:    #993333
   Background: #CADFEC
   Surface:    #FFFFFF
   Text:       #1e293b
   Muted:      #64748b

   Naming convention:
   apps-form-
   ========================================================= */

/* =========================================================
   APPS FORM
   RD3 Tech Contact Form
   ========================================================= */

.apps-form-container {
    width: 100%;
   margin: 0 auto;*
    box-shadow:0 2px 10px rgba(0, 0, 0, 0.1);
      background-color: #ffffff;
     
  
    padding: 0 2% 2%;
    border-radius: 8px;
 /*  
     max-width: 650px;

    padding: 35px;

  */


}


/* =========================================================
   FORM HEADER
   ========================================================= */

.apps-form-header {
    margin-bottom: 30px;
}

.apps-form-header h2 {
    margin-top: 0;
    margin-bottom: 8px;

    color: #993333;

    font-size: 1.5rem;
    line-height: 1.3;
}

.apps-form-tagline {
    margin-bottom: 15px;

    color: #64748b;

    font-weight: 600;
}

.apps-form-header p {
    margin-bottom: 0;

    color: #1e293b;
}


/* =========================================================
   SECTION TITLES
   ========================================================= */

.apps-form-section-title {
    margin-top: 35px;
    margin-bottom: 20px;

    padding-bottom: 8px;

    color: #993333;

    font-size: 1.25rem;
    font-weight: 700;

    border-bottom: 5px solid #993333;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.apps-form-group {
    margin-bottom: 1rem;
}


/* =========================================================
   LABELS
   ========================================================= */

.apps-form-label {
    display: block;

    margin-bottom: 6px;

    color: #334155;

    font-weight: 600;
}

.apps-form-required {
    color: #993333;
}


/* =========================================================
   FORM CONTROLS
   ========================================================= */

.apps-form-control {
    display: block;

    width: 100%;

    padding: 10px 12px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;

    color: #000000;

    background-color: #ffffff;

    border: 1px solid #050505;
    border-radius: 6px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   FOCUS
   ========================================================= */

.apps-form-control:focus {
    outline: none;

    border-color: #993333;

    box-shadow:
        0 0 0 2px rgba(153, 51, 51, 0.15);
}


/* =========================================================
   TEXTAREA
   ========================================================= */

textarea.apps-form-control {
    min-height: 120px;

    resize: vertical;
}


/* =========================================================
   HELP TEXT
   ========================================================= */

.apps-form-help-text {
    margin-top: 5px;

    color: #64748b;

    font-size: 13px;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.apps-form-button {
    display: inline-block;

    padding: 10px 18px;

    color: #ffffff;

    background-color: #993333;

    border: 2px solid #993333;
    border-radius: 6px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.apps-form-button:hover {
    color: #ffffff;

    background-color: #7f2929;

    border-color: #7f2929;
}

.apps-form-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

.apps-form-success {
    display: none;

    padding: 15px 18px;

    margin-top: 20px;

    background-color: #f0fdf4;

    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;

    border-radius: 6px;

    color: #1e293b;
}

.apps-form-success strong {
    color: #15803d;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.apps-form-honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .apps-form-container {
        padding: 22px;
    }

}


@media (max-width: 450px) {

    .apps-form-container {
        padding: 18px;
    }

    .apps-form-button {
        width: 100%;

        text-align: center;
    }

}