/* Ginger Betty's Bakery Name Generator Styles */

.ginger-bettys-name-generator {
    font-family: 'Georgia', serif;
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.gb-ng-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #003da5;
}

.gb-ng-header {
    text-align: center;
    margin-bottom: 30px;
}

.gb-ng-title {
    font-size: 2.5em;
    color: #dc143c;
    margin: 0 0 10px 0;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.gb-ng-subtitle {
    font-size: 1.1em;
    color: #003da5;
    margin: 0;
    font-style: italic;
}

.gb-ng-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.gb-ng-input {
    padding: 15px 20px;
    font-size: 1.1em;
    border: 3px solid #003da5;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Georgia', serif;
    background: white;
}

.gb-ng-input:focus {
    border-color: #dc143c;
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
    transform: scale(1.02);
}

.gb-ng-button {
    padding: 15px 30px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #dc143c 0%, #b71c1c 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: 'Georgia', serif;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.gb-ng-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, #b71c1c 0%, #dc143c 100%);
}

.gb-ng-button:active {
    transform: translateY(0);
}

.gb-ng-result {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gb-ng-result-content {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 3px dashed #003da5;
}

.gb-ng-greeting {
    font-size: 1.3em;
    color: #003da5;
    margin: 0 0 10px 0;
}

.gb-ng-greeting span {
    font-weight: bold;
    color: #dc143c;
}

.gb-ng-sweet-name {
    font-size: 1em;
    color: #666;
    margin: 0 0 15px 0;
    font-style: italic;
}

.gb-ng-candy-name {
    font-size: 2.5em;
    color: #dc143c;
    margin: 15px 0 25px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: bounce 0.6s ease;
    font-family: 'Georgia', serif;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.gb-ng-secondary-button {
    padding: 12px 25px;
    font-size: 1em;
    background: #003da5;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    margin: 5px;
}

.gb-ng-secondary-button:hover {
    background: #002d7a;
    transform: translateY(-2px);
}

.gb-ng-share-button {
    padding: 12px 25px;
    font-size: 1em;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    margin-top: 10px;
}

.gb-ng-share-button:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gb-ng-container {
        padding: 30px 20px;
    }
    
    .gb-ng-title {
        font-size: 2em;
    }
    
    .gb-ng-candy-name {
        font-size: 2em;
    }
    
    .gb-ng-form {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ginger-bettys-name-generator {
        padding: 0 10px;
    }
    
    .gb-ng-container {
        padding: 25px 15px;
    }
    
    .gb-ng-title {
        font-size: 1.75em;
    }
    
    .gb-ng-candy-name {
        font-size: 1.75em;
    }
    
    .gb-ng-secondary-button,
    .gb-ng-share-button {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Loading Animation */
.gb-ng-button.loading {
    position: relative;
    color: transparent;
}

.gb-ng-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
