/* Main container */
.fpc-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5c3f8 0%, #c38cf7 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(195, 140, 247, 0.3);
    font-family: 'Arial', sans-serif;
    color: #5a2d82;
    position: relative;
    overflow: hidden;
}

/* Header */
.fpc-header {
    text-align: center;
    margin-bottom: 25px;
}

.fpc-header h2 {
    color: #5a2d82;
    margin: 0;
    font-size: 24px;
}

.fpc-header p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #7e4ca5;
}

/* Form elements */
.fpc-input-group {
    margin-bottom: 15px;
}

.fpc-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #5a2d82;
}

.fpc-input-group input,
.fpc-input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d9b3ff;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    color: #5a2d82;
    transition: all 0.3s;
}

.fpc-input-group input:focus,
.fpc-input-group select:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

/* Buttons */
.fpc-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #a855f7, #c084fc);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.fpc-button:hover {
    background: linear-gradient(to right, #9333ea, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

/* Results section */
.fpc-result {
    margin-top: 25px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.fpc-percentage-container {
    margin: 20px 0;
}

.fpc-percentage-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: #5a2d82;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
    border: 5px solid white;
    animation: pulse 2s infinite;
}

/* Messages */
.fpc-message-container {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.fpc-message-line {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    min-height: 24px;
}

/* Social sharing */
.fpc-social-share {
    margin: 20px 0;
}

.fpc-social-share p {
    margin-bottom: 10px;
    font-weight: bold;
}

.fpc-social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.fpc-share-button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.fpc-facebook {
    background-color: #4267B2;
    color: white;
}

.fpc-twitter {
    background-color: #1DA1F2;
    color: white;
}

.fpc-whatsapp {
    background-color: #25D366;
    color: white;
}

.fpc-share-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hearts animation */
.fpc-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #f472b6;
    transform: rotate(45deg);
    opacity: 0;
}

.heart:before,
.heart:after {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #f472b6;
    border-radius: 50%;
    position: absolute;
}

.heart:before {
    top: -10px;
    left: 0;
}

.heart:after {
    top: 0;
    left: -10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(45deg);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .fpc-container {
        padding: 15px;
    }
    
    .fpc-header h2 {
        font-size: 20px;
    }
    
    .fpc-percentage-circle {
        width: 120px;
        height: 120px;
        font-size: 30px;
    }
    
    .fpc-social-buttons {
        flex-direction: column;
    }
    
    .fpc-share-button {
        width: 100%;
    }
}