#room_wire #login_form h3 {
    margin: 0;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-white.rounded-lg.shadow-lg {
    animation: fadeInUp 0.6s ease-out;
}

/* カードホバーエフェクト */
.bg-white.rounded-lg.shadow-lg {
    transition: all 0.3s ease-in-out;
}

.bg-white.rounded-lg.shadow-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ボタンスタイルの改善 */
button[type="submit"] {
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

button[type="submit"]:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

button[type="submit"]:not(:disabled):active {
    transform: translateY(0);
}

/* 入力フィールドのスタイル */
input[type="email"], input[type="password"] {
    transition: all 0.2s ease-in-out;
}

input[type="email"]:focus, input[type="password"]:focus {
    transform: translateY(-1px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .bg-white.rounded-lg.shadow-lg {
        margin-bottom: 1rem;
    }
}

/* アイコンのアニメーション */
.fas {
    transition: all 0.2s ease-in-out;
}

button:hover .fas {
    transform: scale(1.1);
}

/* フォーカス時のアニメーション */
.focus\:ring-2:focus {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* モバイルタブのスタイル */
.tab-button {
    transition: all 0.3s ease-in-out;
}

.tab-button:hover {
    transform: translateY(-1px);
}

.tab-button.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* モバイルセクションの表示制御 */
@media (max-width: 1023px) {
    #login-section, #register-section {
        display: none;
    }
    
    #login-section.active, #register-section.active {
        display: block;
    }
}

/* デスクトップでは常に表示 */
@media (min-width: 1024px) {
    #login-section, #register-section {
        display: block !important;
    }
}