/* ========== Global ========== */
body {
    background-color: #ffffff;
}

/* ========== Signup Page ========== */
.form1{
	box-shadow: 1px 1px 8px 0 rgba(0,0,0,0.2), 0px 0px 0px 0 rgba(0,0,0,0.19);
	border-radius: 10px;
	text-align: center;
}
/* ========== Admin User Role Only ========== 

.role-church-admin .grid-container {
    max-width: 100%;
    width: 100%;
    margin: 0px 30px 0px 0px;
}

.role-church-admin .widget-area .widget {
    padding: 0px;
}

.role-church-admin .widget-title {
display: none;
}
*/
/* Use flex layout for sidebar + content 
@media (min-width: 769px) {
    .site-content {
        display: flex;
    }

    #primary {
        flex: 0 0 90%;
        max-width: 86%;
        padding: 0px;
    }
}
*/

/* ========== Avatar Picture For Quiz Cards ========== */
.overlapmale {
    margin: 0 0 0 -15px;
}
.overlapfemale {
    margin: 0 0 0 -15px;
}
.partnermale, .maleinfo {
    text-align: right;
    border-right: solid #bbb thin;
    float: right;
    padding: 0 10px;
    font-size: 13px;
}
.partnerfemale, .femaleinfo {
    text-align: left;
    border-left: solid #bbb thin;
    float: left;
    padding: 0 10px;
    font-size: 13px;
}
.frm_round {
    border-radius: 50%;
    border: 8px solid #efefef;
    width: 130px;
    height: 130px;
}
.imgadjust {
    margin-bottom: -40px;
}

/* ========== Student Quiz Cards ========== */
.ext1 > div{
    box-shadow: 1px 1px 8px rgba(0,0,0,0.1);
    border: 1px solid #cccccc;
    border-radius: 10px;
    margin-bottom: 28px;
}

.ext2 {
    box-shadow: 1px 1px 8px rgba(0,0,0,0.1);
    border: 1px solid #cccccc;
    border-radius: 10px;
    margin-bottom: 28px;
}

.shadow1 > div {
    border: none !important;
    box-shadow: none !important;
}
.cardheader {
    background-color: #f4f4f6;
    border-radius: 10px 10px 0 0;
    padding: 15px 0 1px;

}
.buttonpad {
    padding: 10px 20px 35px;
}

/* ========== Quiz Forms ========== */

.with_frm_style .frm_form_field.frm_html_container {
	font-size: 16px;
	color: #1d2939;
}


/* ========== Entry Speech Bubbles ========== */
.gender-entry-bubble {
    position: relative;
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 90%;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.4;
    display: inline-block;
    word-wrap: break-word;
}
.male-entry .gender-entry-bubble {
    background-color: #d0ebff;
    color: #003366;
}
.male-entry .gender-entry-bubble::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 10px;
    border: 10px solid transparent;
    border-right-color: #d0ebff;
}
.female-entry .gender-entry-bubble {
    background-color: #ffcbe4;
    color: #800040;
}
.female-entry .gender-entry-bubble::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 10px;
    border: 10px solid transparent;
    border-left-color: #ffcbe4;
}

/* ========== Progress Circles ========== */
.quiz-progress-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
}
.quiz-progress-circle {
    width: 100px;
    text-align: center;
    flex: 0 0 100px;
}
.quiz-progress-svg-wrapper {
    position: relative;
    height: 100px;
    width: 100px;
    margin: 0 auto;
}
.quiz-progress-circle-bg {
    stroke: #e6e6e6;
}
.quiz-progress-circle-fg {
    stroke: #00aaff;
    stroke-linecap: round;
}
.quiz-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quiz-progress-label {
    margin-top: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.3;
}
.female-progress {
    margin-right: auto;
}
.male-progress {
    margin-left: auto;
}

/* ========== Buttons ========== */
.button1 {
    background-color: #E3E8EA;
    box-shadow: 0.1px 0.1px 4px rgba(0,0,0,0.2), 2px 2px 4px rgba(0,0,0,0.19);
    border-radius: 6px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
    width: 100%;
    padding: 8px 0;
}
.button1:hover {
    background-color: #55555e;
    color: white;
}

.button2 {
    background-color: #E3E8EA;
    box-shadow: 0.1px 0.1px 4px rgba(0,0,0,0.2), 2px 2px 4px rgba(0,0,0,0.19);
    border-radius: 6px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
	cursor: pointer;
}
.button2:hover {
    background-color: #55555e;
    color: white;
}

.layout-toggle-buttons {
    width: 300px;
    margin: 20px auto; /* centers horizontally */
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.layout-toggle-buttons .button1 {
    flex: 1;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* ========== Color Coded User Boxes ========== */
.user-group-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 300px;
    background: #f9f9f9;
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
}
.user-box.male {
    border: 1px solid #95c8f7;
}
.user-box.female {
    border: 1px solid #f9a0c3;
}
.user-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.user-info {
    display: flex;
    flex-direction: column;
}
.user-name {
    font-size: 1rem;
    font-weight: bold;
}
.user-role {
    font-size: 0.9rem;
    color: #666;
}

/* ========== Gender-Based Layout ========== */
.gender-columns {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}
.gender-column {
    flex: 1;
}
.one-column .gender-columns {
    flex-direction: column;
}
.mentor-entry-bubble {
    background-color: #f1f1f1;
    padding: 12px 16px;
    margin-bottom: 15px;
    border-left: 4px solid #0073aa;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ========== Horizontal Lines ========== */
hr.new1 {
    margin: 6px 0 6px 24px;
    border-top: 1px solid #ccc;
}
hr.new2 {
    margin: 6px 24px 6px 0;
    border-top: 1px solid #ccc;
}
hr.new3 {
    margin: 0 0 10px;
    border-top: 1px solid #ccc;
}
hr.new4 {
    margin: 12px 0 10px;
    border-top: 1px solid #ccc;
}

/* ========== Accordion ========== */
.wpfaccordion {
    color: #444;
    cursor: default;
    padding: 0;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px;
    background-color: #fff;
	width: 100%;
}

.wpfaccordion:hover,
.wpfaccordion:focus {
    color: #444;
    background-color: #fff;
}

.wpfaccordion:active {
    border-radius: 10px;
}
/* ========== Accordion Instruction ========== */
.my-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.wpfaccordion-active {
  background-color: #ddd; /* optional for active state */
}


/* ========== Billing ========== */
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.top-row {
  font-size: 14px;
}
.middle-row {
  font-size: 12px;
}
.receipt-table th, .receipt-table td {
   border: 1px solid #BFC3C8;
  padding: 6px;
}
.total-row {
   font-size: 14px;
}

/* ========== Responsive ========== */
@media (max-width: 767px) {
    .ext1 {
        margin-bottom: 14px;
    }
    .cardheader,
    .cardheader1 {
        border-radius: 10px;
    }
    .wpfaccordion {
        cursor: pointer;
        width: 100%;
    }
    .wpfaccordion-active,
    .wpfaccordion:hover {
        background-color: #fff;
        color: #444;
    }
    .wpfpanel {
        padding: 0;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        transition: max-height 0.2s ease-out;
    }
    .wpfpanel p {
        margin-top: 0;
    }
    .wpfaccordion:after {
        content: '\02795';
        font-size: 13px;
        float: right;
        margin: -42px 10px 0 30px;
    }
    .wpfaccordion-active:after {
        content: '\2796';
    }
    .frm4 {
        grid-column: span 12 / span 12;
    }

    .gender-columns {
        flex-direction: column;
    }

    .user-group-flex {
        flex-direction: column;
        align-items: center;
    }
	.user-box {
    width: 100%;
	}
}
