/* iCabbi Plugin Styles */

/* General */
.wp-block-post-title {
    display: none;
}

/* Driver Charges (Dashboard) */
.icabbi-driver-charges {
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.icabbi-branding {
    margin-bottom: 20px;
}

.icabbi-logo {
    width: auto;
    height: auto;
    border-radius: unset;
    margin-bottom: 10px;
}

.icabbi-branding h1 {
    display: none;
}

.icabbi-form-field {
    position: relative;
    margin-bottom: 15px;
    text-align: left;
}

.icabbi-form-field label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.icabbi-form-field input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: none;
    border-radius: 25px;
    background: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
}

.icabbi-form-field input[readonly] {
    background: #e8ecef;
}

.icabbi-button {
    background: #003087;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.icabbi-button:hover {
    background: #00205b;
}

.icabbi-success {
    margin-bottom: 15px;
    text-align: left;
}

.icabbi-success h3 {
    color: green;
    font-size: 18px;
    margin-bottom: 10px;
}

.icabbi-success-field {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.icabbi-success-label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.icabbi-success-value {
    font-size: 14px;
    color: #333;
}

.icabbi-error {
    color: red;
    margin-bottom: 15px;
    text-align: left;
}

.icabbi-driver-charges p {
    margin: 10px 0;
}

.icabbi-driver-charges a {
    color: #003087;
    text-decoration: none;
}

.icabbi-driver-charges a:hover {
    text-decoration: underline;
}

/* Driver Login */
.icabbi-driver-login {
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.icabbi-driver-login .icabbi-form-field {
    position: relative;
    margin-bottom: 15px;
}

.icabbi-driver-login .icabbi-form-field input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: none;
    border-radius: 25px;
    background: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
}

.icabbi-driver-login .icabbi-form-field input::placeholder {
    color: #999;
}

/* SaaS divert modal (pilot allowlist) */
.icabbi-saas-divert-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 24, 64, 0.55);
    box-sizing: border-box;
}

.icabbi-saas-divert-modal {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    font-family: Arial, sans-serif;
}

.icabbi-saas-divert-modal h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #003087;
    line-height: 1.25;
}

.icabbi-saas-divert-modal p {
    margin: 0 0 12px;
    font-size: 15px;
    color: #333;
    line-height: 1.45;
}

.icabbi-saas-divert-timer {
    margin-bottom: 20px !important;
    color: #555 !important;
}

.icabbi-saas-divert-proceed {
    display: inline-block;
    text-decoration: none;
    color: #fff !important;
}

.icabbi-saas-divert-proceed:hover {
    color: #fff !important;
}