﻿.fp-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.fp-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    padding: 2.5rem;
    animation: fpFadeInUp .5s ease-out;
}

@keyframes fpFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.fp-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

    .fp-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.fp-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 .5rem;
}

.fp-subtitle {
    font-size: .875rem;
    color: #6b7280;
    margin: 0;
}

.fp-form {
    margin-top: 1.5rem;
}

.fp-group {
    margin-bottom: 1.5rem;
}

.fp-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .5rem;
}

.fp-ico {
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
}

.fp-input {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .875rem;
    color: #111827;
    background: #fff;
    transition: all .2s ease;
}

    .fp-input:focus {
        outline: none;
        border-color: #d97706;
        box-shadow: 0 0 0 3px rgba(217,119,6,.1);
    }

    .fp-input::placeholder {
        color: #9ca3af;
    }

    .fp-input[readonly] {
        background: #f9fafb;
        color: #374151;
    }

.fp-otp {
    letter-spacing: .35em;
    font-weight: 700;
}

.fp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    background: #d97706;
    color: #fff;
    font-weight: 600;
    font-size: .875rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
}

    .fp-btn:hover {
        background: #b45309;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px -1px rgba(217,119,6,.3);
    }

    .fp-btn:active {
        transform: translateY(0);
    }

    .fp-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(217,119,6,.3);
    }

.fp-links {
    margin-top: 1.25rem;
    text-align: center;
}

.fp-links-row {
    display: flex;
    justify-content: center;
}

.fp-links a {
    font-size: .875rem;
    color: #d97706;
    font-weight: 500;
    text-decoration: none;
}

    .fp-links a:hover {
        color: #b45309;
        text-decoration: underline;
    }

@media (max-width: 640px) {
    .fp-card {
        padding: 1.5rem;
    }

    .fp-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .fp-container {
        padding: 1rem .5rem;
    }

    .fp-card {
        padding: 1.25rem;
    }
}
