﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.pdo-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    background: #f4efe8;
    background-image: radial-gradient(ellipse at 15% 15%, rgba(91,155,255,.12) 0%, transparent 50%), radial-gradient(ellipse at 85% 85%, rgba(91,155,255,.09) 0%, transparent 50%);
    padding: 24px;
}

/* ── CARD WRAPPER ── */
.pdo-card {
    display: flex;
    width: 100%;
    max-width: 880px;
    min-height: 520px;
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(80,40,0,.14), 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
    background: #fff;
}

/* ── LEFT BRAND ── */
.pdo-brand {
    width: 38%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: linear-gradient(170deg, #eaf3ff 0%, #d6e8ff 100%);
    border-right: 1px solid #e8d89a;
    position: relative;
    text-align: center;
}
/* corner ornaments */
.pdo-corner {
    position: absolute;
    width: 36px;
    height: 36px;
    border-color: rgba(91,155,255,.45);
    border-style: solid;
}

.pdo-corner-tl {
    top: 14px;
    left: 14px;
    border-width: 2px 0 0 2px;
}

.pdo-corner-tr {
    top: 14px;
    right: 14px;
    border-width: 2px 2px 0 0;
}

.pdo-corner-bl {
    bottom: 14px;
    left: 14px;
    border-width: 0 0 2px 2px;
}

.pdo-corner-br {
    bottom: 14px;
    right: 14px;
    border-width: 0 2px 2px 0;
}

.pdo-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 22px;
    filter: drop-shadow(0 2px 10px rgba(160,120,20,.2));
}

.pdo-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 160px;
    margin-bottom: 16px;
}

    .pdo-rule::before, .pdo-rule::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(91,155,255,.55);
    }

.pdo-gem {
    width: 6px;
    height: 6px;
    background: #5b9bff;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.pdo-company {
    font-size: 13px;
    font-weight: 700;
    color: #7a5500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    line-height: 1.65;
    margin-bottom: 10px;
}

.pdo-slogan {
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #a07830;
    letter-spacing: 1.5px;
}

/* ── RIGHT FORM ── */
.pdo-form-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 44px;
    background: #fff;
}

.pdo-form-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pdo-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.pdo-sub {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 24px;
}

/* inputs */
.pdo-field {
    margin-bottom: 16px;
}

    .pdo-field label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #666;
        margin-bottom: 5px;
        letter-spacing: .3px;
        text-transform: uppercase;
    }

    .pdo-field .input-wrap {
        position: relative;
    }

    .pdo-field .form-control {
        width: 100%;
        padding: 10px 14px;
        border: 1.5px solid #e2e2e2;
        border-radius: 8px;
        font-size: 14px;
        color: #333;
        transition: border-color .2s, box-shadow .2s;
        background: #fafafa;
    }

        .pdo-field .form-control:focus {
            outline: none;
            background: #fff;
            border-color: #5b9bff;
            box-shadow: 0 0 0 3px rgba(91,155,255,.13);
        }

    .pdo-field .field-icon {
        position: absolute;
        right: 11px;
        top: 50%;
        transform: translateY(-50%);
        color: #bbb;
        font-size: 13px;
        cursor: pointer;
        z-index: 1;
    }

/* alert */
.pdo-alert {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 9px 13px;
    font-size: 13px;
    color: #991b1b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* button */
.pdo-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82d6 0%, #7cb9ff 50%, #3b82d6 100%);
    background-size: 200% auto;
    color: #2a1600;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
    transition: background-position .3s, transform .1s;
    margin-top: 4px;
    margin-bottom: 14px;
}

    .pdo-btn:hover {
        background-position: right center;
    }

    .pdo-btn:active {
        transform: scale(.99);
    }

/* options row */
.pdo-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #777;
}

    .pdo-options .form-check {
        margin: 0;
    }

    .pdo-options .form-check-input:checked {
        background-color: #5b9bff;
        border-color: #5b9bff;
    }

    .pdo-options a {
        color: #3b82d6;
        text-decoration: none;
        font-size: 12px;
    }

        .pdo-options a:hover {
            text-decoration: underline;
        }

/* back link */
.pdo-back {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}

    .pdo-back:hover {
        color: #3b82d6;
    }

/* footer */
.pdo-footer {
    text-align: center;
    font-size: 11px;
    color: #ccc;
    padding-top: 16px;
}

    .pdo-footer a {
        color: #3b82d6;
        text-decoration: none;
    }

/* responsive */
@media (max-width: 700px) {
    .pdo-brand {
        display: none !important;
    }

    .pdo-card {
        max-width: 420px;
    }

    .pdo-form-side {
        padding: 32px 28px;
    }
}
