/* General styles */

html,
body {
    font-size: 16px;
}

strong {
    font-weight: bold;
}

p {
    margin-top: 1em;
}


/* Loading icon */

.loading-icon {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.07);
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s;
    transition-delay: 0s;
}

.loading-icon.visible {
    opacity: 1;
    pointer-events: all;
    transition-delay: 0.15s;
}

.loading-icon img {
    display: inline-block;
    width: 64px;
    background-color: white;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}


/* Compliment Generator */

.compliment-generator {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.compliment-generator h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.compliment-generator .intro {
    color: #666;
    margin-bottom: 30px;
}

.compliment-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 30px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.compliment-display p {
    color: white;
    font-size: 1.4em;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

#generate-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

#generate-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

#generate-btn:active {
    transform: translateY(0px);
}

.compliment-generator .counter {
    margin-top: 30px;
    color: #888;
    font-size: 1.1em;
}

.compliment-generator .counter strong {
    color: #667eea;
    font-size: 1.2em;
}

.compliment-generator .disclaimer {
    margin-top: 20px;
    font-size: 0.8em;
    color: #aaa;
    font-style: italic;
}
