html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #fdf7ff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#woodlog-initial-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#woodlog-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fdf7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    box-sizing: border-box;
}

.woodlog-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    text-align: center;
}

.woodlog-title {
    color: #6750A4;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.woodlog-tabs {
    display: flex;
    background: #f3edf7;
    border-radius: 20px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.woodlog-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #49454F;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.woodlog-tab.active {
    background: #6750A4;
    color: #ffffff;
}

.woodlog-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 16px;
    gap: 6px;
}

.woodlog-group label {
    font-size: 13px;
    font-weight: 600;
    color: #49454F;
}

.woodlog-group input {
    border: 1px solid #79747E;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    color: #1D1B20;
    outline: none;
    background: #ffffff;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woodlog-group input:focus {
    border-color: #6750A4;
    box-shadow: 0 0 0 1px #6750A4;
}

.woodlog-hint {
    font-size: 12px;
    color: #79747E;
    margin-top: 2px;
}

.woodlog-error {
    background: #ffdad6;
    color: #410002;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.4;
}

.woodlog-btn-primary {
    background: #6750A4;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.woodlog-btn-primary:hover:not(:disabled) {
    background: #5a4491;
}

.woodlog-btn-primary:disabled {
    background: #e6e0e9;
    color: #938f99;
    cursor: not-allowed;
}

.woodlog-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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