/**
 * Protection page styles for Recognyze Client plugin
 */

/* General Layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4em;
    color: #32373c;
    background: #f1f1f1;
    margin: 0;
    padding: 20px;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
}

/* Badge */
.recognyze-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: #fff;
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.recognyze-badge:before {
    content: "🔐";
    margin-right: 8px;
    font-size: 14px;
}

/* Grid Layouts */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.bottom-frames {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Notices and Cards */
.aggregator-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #2271b1;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.info-card h3 {
    color: #23282d;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.info-card p {
    color: #646970;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Footer & Site Info */
.site-info {
    background: #23282d;
    color: #fff;
    padding: 15px 30px;
    font-size: 12px;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

.site-info a {
    color: #2271b1;
    text-decoration: none;
}

.site-info a:hover {
    color: #135e96;
}

/* Buttons */
.return-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.return-buttons .button-primary {
    min-width: 200px;
}

.button-secondary {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    color: #2c3338;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
}

.button-secondary:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
    color: #1d2327;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .bottom-frames {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .aggregator-notice {
        padding: 15px;
        margin-bottom: 20px;
    }

    .return-buttons {
        flex-direction: column;
        align-items: center;
    }

    .return-buttons .button-primary,
    .return-buttons .button-secondary {
        min-width: 250px;
    }
}