*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F5F5F5 url('../../RESOURCES/bg_hive.svg') no-repeat center center / cover;
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
}

.pr-container
{
    max-width: 460px;
    margin: 0 auto;
    padding: 40px 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* LOADING */

.pr-loading
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #999;
    font-size: 0.95em;
}

.pr-spinner
{
    width: 36px;
    height: 36px;
    border: 3px solid #E0E0E0;
    border-top-color: #FF8F00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* CARD */

.pr-card
{
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.pr-header
{
    background: linear-gradient(135deg, #FF8F00, #F57C00);
    padding: 28px 24px;
    text-align: center;
    color: white;
}

.pr-logo
{
    height: 56px;
    margin-bottom: 12px;
}

.pr-title
{
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 6px;
}

.pr-subtitle
{
    font-size: 0.88em;
    opacity: 0.92;
    line-height: 1.5;
}

.pr-form
{
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FIELDS */

.pr-field
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pr-field label
{
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
}

.pr-field label i
{
    color: #FF8F00;
    margin-right: 4px;
}

.pr-field input
{
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95em;
    transition: border-color 0.2s;
}

.pr-field input:focus
{
    outline: none;
    border-color: #FF8F00;
    box-shadow: 0 0 0 3px rgba(255,143,0,0.12);
}

/* ERROR MESSAGE */

.pr-error
{
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88em;
    line-height: 1.4;
}

/* BUTTONS */

.pr-btn
{
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 13px 24px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.pr-btn-primary
{
    background: #FF8F00;
    color: white;
    border-color: #FF8F00;
}

.pr-btn-primary:hover
{
    background: white;
    color: #FF8F00;
}

.pr-btn:disabled
{
    background: #CCC;
    cursor: not-allowed;
}

/* LINK */

.pr-link
{
    text-align: center;
    color: #FF8F00;
    text-decoration: none;
    font-size: 0.88em;
    font-weight: 600;
    display: block;
}

.pr-link:hover
{
    text-decoration: underline;
}

/* STATE SCREENS */

.pr-state
{
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.pr-state-icon
{
    font-size: 3em;
    margin-bottom: 16px;
}

.pr-state-icon.error { color: #E53935; }
.pr-state-icon.success { color: #43A047; }

.pr-state-title
{
    font-size: 1.4em;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.pr-state-msg
{
    font-size: 0.92em;
    color: #777;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* RESPONSIVE */

@media (max-width: 500px)
{
    .pr-container
    {
        padding: 20px 8px;
    }

    .pr-header
    {
        padding: 22px 18px;
    }

    .pr-form
    {
        padding: 18px 16px;
    }
}
