/**
 * 認証画面のスタイル
 */

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
}

.auth-card h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.auth-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-card .form-group {
    margin-bottom: 1.5rem;
}

.auth-card .btn {
    margin-top: 0.5rem;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* 園児向けスタイル */
.cute-auth-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5FA 100%);
    border-radius: 30px;
    border: 5px solid #FFB6D9;
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.4);
    padding: 3rem 2.5rem;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    position: relative;
    animation: card-bounce 0.6s ease-out;
}

@keyframes card-bounce {
    0% {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.cute-auth-card::before {
    content: '🎨';
    position: absolute;
    top: -25px;
    left: -25px;
    font-size: 3rem;
    animation: rotate-slow 10s linear infinite;
}

.cute-auth-card::after {
    content: '🎪';
    position: absolute;
    top: -25px;
    right: -25px;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.auth-icon {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.cute-title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #FF1493 !important;
    text-shadow: 3px 3px 0 #FFE5F0, 6px 6px 0 rgba(255, 20, 147, 0.2) !important;
    margin-bottom: 1rem !important;
}

.cute-description {
    font-size: 1.2rem !important;
    color: #FF6B9D !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
}

.cute-form-group {
    margin-bottom: 2rem !important;
}

.cute-label {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #FF1493 !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.label-icon {
    font-size: 1.5rem;
}

.cute-input {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    border: 3px solid #FFB6D9 !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
    color: #FF1493 !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.cute-input:focus {
    outline: none !important;
    border-color: #FF1493 !important;
    box-shadow: 0 0 0 4px rgba(255, 20, 147, 0.2) !important;
    transform: scale(1.02) !important;
}

.cute-input::placeholder {
    color: #FFB6D9 !important;
}

.cute-btn {
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

.cute-btn:hover:not(:disabled) {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6) !important;
}

.cute-btn:active:not(:disabled) {
    transform: translateY(0) !important;
}

.cute-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.btn-icon {
    font-size: 1.5rem;
}

.cute-message {
    border-radius: 20px !important;
    padding: 1.25rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-top: 1.5rem !important;
    border: 3px solid !important;
    animation: message-appear 0.3s ease-out !important;
}

@keyframes message-appear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cute-message.message-success {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8F2 100%) !important;
    color: #2E7D32 !important;
    border-color: #66BB6A !important;
}

.cute-message.message-error {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFF5F5 100%) !important;
    color: #C62828 !important;
    border-color: #EF5350 !important;
}

/* レスポンシブ */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }

    .cute-auth-card {
        padding: 2rem 1.5rem;
    }

    .cute-title {
        font-size: 2rem !important;
    }

    .auth-icon {
        font-size: 4rem;
    }

    .cute-description {
        font-size: 1rem !important;
    }

    .cute-btn {
        font-size: 1.1rem !important;
        padding: 1rem 1.5rem !important;
    }
}
