.jackstudio-login-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.login-columns {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-column {
    flex: 1;
    padding: 30px;
}

/* 左欄樣式 */
.left-column {
    border-right: 1px solid #eee;
}

.tab-buttons {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #2271b1;
    border-bottom: 2px solid #2271b1;
    margin-bottom: -2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 表單樣式 */
.jackstudio-form .form-group {
    margin-bottom: 15px;
}

.jackstudio-form input[type="text"],
.jackstudio-form input[type="email"],
.jackstudio-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #135e96;
}

/* 右欄社群登入樣式 */
.right-column h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 12px 20px;
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333333 !important;
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
}

.social-login-btn .social-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: none; /* 防止hover時變化 */
}

.social-login-btn .google-icon {
    background-image: url('../images/google.png');
}

.social-login-btn .facebook-icon {
    background-image: url('../images/facebook.png');
}

.social-login-btn .line-icon {
    background-image: url('../images/line.png');
}

.social-login-btn span {
    flex: 1;
}

/* 懸停效果 - 只改變背景和文字，不改變圖標 */
.social-login-btn:hover {
    background-color: #f5f5f5 !important;
}

.google-btn:hover {
    background-color: #f8f8f8 !important;
    border-color: #DB4437 !important;
    color: #DB4437 !important;
}

.facebook-btn:hover {
    background-color: #f8f8f8 !important;
    border-color: #4267B2 !important;
    color: #4267B2 !important;
}

.social-login-btn.line-btn {
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    color: #333333 !important;
}

.social-login-btn.line-btn:hover {
    background-color: #f8f8f8 !important;
    border-color: #06C755 !important;
    color: #06C755 !important;
}

/* LINE 註冊表單樣式 */
.jackstudio-login-container .full-width {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.jackstudio-login-container .full-width h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.jackstudio-login-container .line-avatar-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.jackstudio-login-container .line-avatar-wrapper img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #06C755;
}

/* 錯誤訊息樣式 */
.jackstudio-login-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease-in-out;
}

.jackstudio-login-error p {
    margin: 0;
}

/* RWD 適應 */
@media (max-width: 768px) {
    .login-columns {
        flex-direction: column;
    }
    
    .login-column {
        padding: 20px;
    }
    
    .left-column {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

.jackstudio-login-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 15px 20px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    animation: fadeIn 0.6s ease-in-out;
    cursor: pointer;
}

.jackstudio-login-message p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, -60%); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%); 
    }
}

/* 錯誤和成功訊息樣式 */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 12px 15px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    animation: fadeInMessage 0.3s ease-in;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 12px 15px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    animation: fadeInMessage 0.3s ease-in;
}

.error-message i,
.success-message i {
    font-size: 16px;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.error-message span,
.success-message span {
    display: inline-block;
    width: calc(100% - 24px);
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

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

/* 響應式設計 */
@media (max-width: 768px) {
    .error-message,
    .success-message {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* 強制刷新時間標記：2024-04-21-3 */
