/* ===============================
   MAIN FORM WRAPPER
=============================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}


.pbr-single-form {
    max-width: 900px;
    margin: 60px auto;
    padding: 50px;
    background: #ffffff;
    border: 2px solid #000;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Headings */
.pbr-single-form h2,
.pbr-single-form h3 {
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

/* ===============================
   INPUTS & SELECTS
=============================== */
.pbr-single-form input,
.pbr-single-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 2px solid #000;
    background: #fff;
    font-size: 14px;
    transition: 0.25s ease;
    box-shadow: none;
    display: block;   /* important */
}

/* Focus Effect */
.pbr-single-form input:focus,
.pbr-single-form select:focus {
    outline: none;
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: none; /* ensure no shadow */
}

/* Placeholder */
.pbr-single-form input::placeholder {
    color: #777;
}

/* Make placeholder white when focused */
.pbr-single-form input:focus::placeholder {
    color: #ccc;
}

/* ===============================
   GRID LAYOUT
=============================== */
.pbr-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

/* Radio */
.pbr-radio {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.pbr-radio input {
    width: auto;
}

/* ===============================
   FILE UPLOAD
=============================== */
.pbr-single-form input[type="file"] {
    border: 2px dashed #000;
    padding: 18px;
    background: #fff;
    cursor: pointer;
}

.pbr-single-form input[type="file"]:focus {
    background: #000;
    color: #fff;
}

/* ===============================
   BUTTON
=============================== */
.pbr-submit-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.pbr-submit-btn:hover {
    background: #fff;
    color: #000;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 768px) {
    .pbr-single-form {
        padding: 30px;
    }

    .pbr-grid-2 {
        grid-template-columns: 1fr;
    }
}

body {
    background: #f5f6f7;
}

.give-layout {
    max-width: 1100px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.dashboard-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Header */
.profile-header {
    display: flex;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.avatar {
    width: 120px;
    height: 120px;
    background: #65b36c;
    border-radius: 50%;
    color: #fff;
    font-size: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-weight: bold;
}

.profile-info h2 {
    margin: 0 0 10px;
}

.profile-info p {
    margin: 5px 0;
    color: #666;
}

/* Body */
.dashboard-body {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 250px;
    border-right: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    padding: 12px 10px;
    cursor: pointer;
    border-left: 4px solid transparent;
    margin-bottom: 8px;
}

.sidebar li.active {
    border-left: 4px solid #65b36c;
    background: #f2faf4;
}

.sidebar li:hover {
    background: #f9f9f9;
}

.logout a {
    color: #65b36c;
    text-decoration: none;
    font-weight: bold;
}

/* Content */
.content {
    flex: 1;
    padding: 30px;
}

.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
}

.stat-box h2 {
    color: #65b36c;
    margin: 0;
    font-size: 28px;
}

.stat-box p {
    margin-top: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

/* Table */
.table-wrapper {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

thead {
    background: #f9f9f9;
}

.status.approved {
    color: green;
    font-weight: bold;
}

.status.pending {
    color: orange;
    font-weight: bold;
}

.status.rejected {
    color: red;
    font-weight: bold;
}

.table-footer {
    padding: 12px;
    background: #f9f9f9;
    font-size: 13px;
}
/* ===============================
   PROFILE FORM
================================ */

#pbr-profile-form {
    margin-top: 20px;
}

#pbr-profile-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #444;
}

#pbr-profile-form input,
#pbr-profile-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
}

#pbr-profile-form input:focus,
#pbr-profile-form select:focus {
    border-color: #65b36c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 28, 36, 0.1);
}

/* Grid Layout */
#pbr-profile-form .pbr-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Button */
#pbr-profile-form .pbr-submit-btn {
    margin-top: 25px;
    background: #65b36c;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#pbr-profile-form .pbr-submit-btn:hover {
    background: #65b36c;
}

/* Responsive */
@media (max-width: 768px) {
    #pbr-profile-form .pbr-grid-2 {
        grid-template-columns: 1fr;
    }
}

.pbr-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.pbr-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.pbr-avatar {
    width: 100px;
    height: 100px;
    background: #69b36d;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pbr-body {
    display: flex;
    gap: 40px;
}

.pbr-sidebar {
    width: 220px;
    border-right: 1px solid #eee;
}

.pbr-sidebar ul {
    list-style: none;
    padding: 0;
}

.pbr-sidebar li {
    margin-bottom: 10px;
}

.pbr-sidebar li a {
    text-decoration: none;
    color: #333333ad;
    font-weight: 600;
}

.pbr-sidebar li.active a {
    color: #000000;
}

.pbr-content {
    flex: 1;
}

.pbr-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.pbr-stat-box {
    flex: 1;
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.pbr-stat-box h3 {
    font-size: 32px;
    color: #69b36d;
}

.pbr-stat-box p {
    color: #333;
    font-weight: 600;
}

.pbr-ride-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.status.approved { color: green; }
.status.rejected { color: red; }
.status.publish { color: orange; }

.pbr-table {
    width: 100%;
    border-collapse: collapse;
}

.pbr-table th,
.pbr-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.pbr-header-info h2 {
    margin-bottom: 6px;
}

.pbr-last-ride {
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.pbr-member-since {
    color: #333;
    font-weight: 500;
}
.pbr-last-ride,
.pbr-member-since {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-weight: 600;
}

.pbr-last-ride .dashicons,
.pbr-member-since .dashicons {
    font-size: 16px;
    color: #555;
}
.logged-in .login-signup-link{
    display: none;
}

.my-auth-logged{
	text-align: center;
    margin: 20px auto !important;
    padding: 60px 20px;
    box-shadow: none;
    border-radius: 0px;
	width: 100%;
	max-width: 100%;
	background-color: #ededed;
}
.my-auth-logged .myryde-welcome-heading{
	font-size: 44px;
    display: block;
    font-weight: 900;
    margin: 36px 0 20px;
}
.my-auth-logged .myryde-welcome-heading span{
	display: block;
    font-weight: 600;
    font-size: 22px;
    margin-top: 10px;
}
.my-auth-logged .myryde-logout-btn{
	display: block;
	width: fit-content;
	text-decoration: none;
	padding: 14px 24px;
	margin: 0 auto;
	font-size: 14px;
    font-weight: 600;
}
.my-auth-logged .myryde-dashboard-btn{
	display: block;
	width: fit-content;
	margin: 0 auto 10px;
	text-decoration: none;
	background-color: #292929;
}

.my-auth-logged .myryde-welcome-heading{
    font-size: 28px;
}
.my-auth-logged .myryde-welcome-heading span{
    font-size: 18px;
}
.my-auth-logged{
    padding: 20px;
}


.my-auth-wrapper,
.myryde-dashboard {
    width: 100%;
    max-width: 1340px;
    margin: 64px auto;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111;
}
.myryde-dashboard h1,
.my-auth-wrapper h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}
.myryde-dashboard h1, .my-auth-wrapper h1{
	margin-bottom: 0px;
}
.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.role-btn {
    padding: 28px;
    border: 2px solid #000;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
	color: #000;
}

.role-btn strong {
    font-size: 18px;
    display: block;
	color: #000;
}

.role-btn span {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

.role-btn:hover {
    background: #000;
    color: #fff;
}
.role-btn:hover strong{
	color: #fff;
}

.role-btn:hover span {
    color: #ddd;
}

.btn-back {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}


.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.auth-divider span
 {
    border-bottom: 1px solid #e7e7e7;
    height: 0;
    width: 100%;
}
.auth-divider strong {
    padding: 0 12px;
    font-size: 20px;
}

.auth-subtitle{
    font-size: 15px;
    color: #555;
    margin-bottom: 40px;
}
#give-login-form > fieldset{
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
}
#give-login-form legend{
    outline: none;
    border: none;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    margin: 26px 0;
}
#give-login-form .give-login{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#give-login-form .give-login label{
    font-size: 16px;
    letter-spacing: -0.1px;
    line-height: 1.4;
    font-weight: 300;
}
#give-login-form .give-login input{
    padding: 15px 18px;
}
body{
    font-size: 16px;
}
.give_submit{
    background-color: #000000 !important;
    color: #fff;
    font-size: 18px;
}

#give-register-form fieldset{
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
}
#give-register-form legend{
    outline: none;
    border: none;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    margin: 26px 0;
}
#give-register-form .form-row-last, #give-register-form .form-row-first{
    float: none;
    width: 100%;
}
#give-register-form .form-row input{
    padding: 15px 18px;
}
#give-register-form .button{
    background-color: #000000 !important;
    color: #fff;
    font-size: 18px;
}
#give-register-form label{
    font-size: 16px;
    letter-spacing: -0.1px;
    line-height: 1.4;
    font-weight: 300;
}
 
#give-register-form{
    max-width: 645px;
    margin: 0 auto 25px;
}
#give-register-form .button{
    width: 100%;
}
.btn-back{
    padding: 15px 18px;
    background-color: #000000 !important;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    line-height: 1;
}
 
#pbr-form{
    border: none;
}
#pbr-form input{
    padding: 15px 18px;
    border: 2px solid rgb(118, 118, 118);
}
 
#pbr-form label{
    font-size: 16px;
    letter-spacing: -0.1px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 10px;
    display: block;
}
#pbr-form .pbr-radio label{
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
}

#pbr-form .pbr-radio label input{
    margin-bottom: 0;
    margin-top: 0;
}


.my-auth-logged {
    text-align: center;
    margin: 20px auto !important;
    padding: 60px 20px;
    box-shadow: none;
    border-radius: 0px;
    width: 100%;
    max-width: 100%;
    background-color: #ededed;
}

.my-auth-logged .myryde-welcome-heading {
    font-size: 28px;
    font-size: 44px;
    display: block;
    font-weight: 900;
    margin: 36px 0 20px;
}

.my-auth-logged a.btn-primary {
    background: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px solid #000000;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s ease;
}

.my-auth-logged a.btn-primary {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    text-decoration: none;
    background-color: #292929;
}

.my-auth-logged a.logout-btn
 {
    display: block;
    width: fit-content;
    text-decoration: none;
    padding: 14px 24px;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
}


@media(max-width: 767px){
    .auth-step .role-grid{
        grid-template-columns: 100%;
    }
    #give-login-form > fieldset{
        padding: 0;
    }
    #give-login-form legend, #give-register-form legend{
        font-size: 26px;
    }
    #auth-login-section h2, #pbr-form h2{
        font-size: 26px;
    }
    .btn-back, #give-register-form .button, #give-login-form .give-login .give_submit{
        font-size: 16px;
    }
    #pbr-form{
        padding: 0;
        background-color: transparent;
        background: transparent;
    }
   
}



/* ===============================
   MYRYDE PUBLIC BENEFICIARY PROFILE
================================ */

.myryde-public-profile {
    max-width: 1000px;
    margin: 60px auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
}

/* ================= HEADER AREA ================= */

.public-profile-header-main {
    padding: 40px 40px 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Avatar */
.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #000;
}

/* Name */
.profile-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.profile-header small {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

/* Role Badge */
.role-badge {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #000;
    color: #fff;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ================= STATS ================= */

.profile-stats {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat {
    padding: 20px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.stat span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #777;
}

/* ================= EXPERIENCE TEXT ================= */

.myryde-public-profile > p {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 10px 0 25px;
}

/* ================= DETAILS SECTION ================= */

.profile-details {
    padding: 0 40px 40px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: #777;
}

.detail-row strong {
    font-weight: 600;
}

/* ================= BUTTONS ================= */

.profile-actions {
    padding: 0 40px 40px;
    text-align: center;
}

.profile-actions .btn-primary {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.profile-actions .btn-primary:hover {
    background: #222;
}

/* ================= ERROR STATE ================= */

.myryde-error {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    text-align: center;
    border: 2px solid #000;
    border-radius: 14px;
    background: #fff;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 768px) {

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .detail-row {
        flex-direction: column;
        gap: 6px;
    }

    .public-profile-header-main,
    .profile-details,
    .profile-actions {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.pbr-approval-wrapper{
max-width:600px;
margin:50px auto;
font-family:Arial;
}

.pbr-approval-wrapper h2{
margin-bottom:20px;
}

.pbr-approval-card{
background:#fff;
border:1px solid #ddd;
padding:25px;
border-radius:8px;
box-shadow:0 3px 8px rgba(0,0,0,0.08);
}

.pbr-row{
display:flex;
justify-content:space-between;
padding:10px 0;
border-bottom:1px solid #eee;
}

.pbr-row label{
font-weight:600;
color:#555;
}

.pbr-status{
padding:4px 10px;
border-radius:4px;
font-size:13px;
font-weight:600;
}

.pbr-status.approved{
background:#e6f8ea;
color:#2e7d32;
}

.pbr-status.rejected{
background:#fdeaea;
color:#c62828;
}

.pbr-status.publish{
background:#fff5e0;
color:#a85c00;
}

.pbr-actions{
margin-top:25px;
display:flex;
gap:15px;
}

.pbr-btn{
padding:10px 18px;
border-radius:5px;
text-decoration:none;
font-weight:600;
}

.pbr-btn.approve{
background:#2e7d32;
color:#fff;
}

.pbr-btn.reject{
background:#c62828;
color:#fff;
}

.pbr-success{
background:#e6f8ea;
color:#2e7d32;
padding:10px;
margin-bottom:20px;
border-radius:5px;
}

.pbr-error{
background:#fdeaea;
color:#c62828;
padding:10px;
margin-bottom:20px;
border-radius:5px;
}

.pbr-approval-error{
text-align:center;
color:red;
font-weight:bold;
margin:50px;
}