#agent-card-two-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    background: rgba(34,34,44,0.22);
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.agent-card-two {
    background: linear-gradient(135deg, #311646 70%, #fff 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(49,22,70,0.18), 0 2px 8px rgba(16,24,40,0.09);
    padding: 4px 8px;
    height: 70%;
    width: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .agent-card-two {
        width: 80%;
        height: auto;
    }
}

.agent-card-two-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    z-index: 1;
}

.agent-card-two-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(49,22,70,0.34);
}

.agent-card-two-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.agent-card-two-flag {
    width: 54px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(49,22,70,0.34);
    margin-right: 12px;
}

.agent-card-two-later-btn {
    background: none;
    color: orange;
    padding: 4px 8px;
    border-radius: 8px;
    border: 2px solid orange;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
}

.agent-card-two-later-btn:hover {
    background: orange;
    color: #fff;
    border-color: transparent;
}

.agent-card-two-bottom-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: auto;
    padding: 0% 22px;
    gap: 2px;
}

.agent-card-two-title {
    font-size: 1.45rem;
    font-weight: bold;
    background: linear-gradient(90deg, orange 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.34);
}

.agent-card-two-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: #bbb;
    text-align: center;
}

.agent-card-two-main-btn {
    background: linear-gradient(90deg, orange 60%, #311646 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.13rem;
    padding: 8px 12px;
    border: none;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 2px 12px rgba(255,140,0,0.13);
    cursor: pointer;
    transition: box-shadow .18s, opacity .18s, background .18s;
    opacity: 1;
}

.agent-card-two-main-btn:hover {
    background: linear-gradient(90deg, #311646 60%, orange 100%);
    box-shadow: 0 4px 16px rgba(255,140,0,0.22);
    opacity: 0.92;
}